const Math::CVector3D COALDevice::GetVelocity() const { Math::CVector3D vResult; alGetListenerfv(AL_VELOCITY, vResult.GetPointer()); return vResult; }
void COALDevice::SetVelocity(const Math::CVector3D& vVelocity) { alListenerfv(AL_VELOCITY, vVelocity.GetPointer()); }
const Math::CVector3D COALDevice::GetPosition() const { Math::CVector3D vResult; alGetListenerfv(AL_POSITION, vResult.GetPointer()); return vResult; }
void COALDevice::SetPosition(const Math::CVector3D& vPosition) { alListenerfv(AL_POSITION, vPosition.GetPointer()); }
const Math::CVector3D COALListener::GetVelocity() const { CR_ALBINDCHECK(this->m_pParent->GetContext()); Math::CVector3D vResult; alGetListenerfv(AL_VELOCITY, vResult.GetPointer()); CR_ALCHECK(); return vResult; }
const Math::CVector3D COALListener::GetPosition() const { CR_ALBINDCHECK(this->m_pParent->GetContext()); Math::CVector3D vResult; alGetListenerfv(AL_POSITION, vResult.GetPointer()); CR_ALCHECK(); return vResult; }
void COALListener::SetVelocity(const Math::CVector3D& vVelocity) { CR_ALBINDCHECK(this->m_pParent->GetContext()); alListenerfv(AL_VELOCITY, vVelocity.GetPointer()); CR_ALCHECK(); }
void COALListener::SetPosition(const Math::CVector3D& vPosition) { CR_ALBINDCHECK(this->m_pParent->GetContext()); alListenerfv(AL_POSITION, vPosition.GetPointer()); CR_ALCHECK(); }