Пример #1
0
	const Math::CVector3D	COALDevice::GetVelocity() const {
		Math::CVector3D	vResult;
		alGetListenerfv(AL_VELOCITY, vResult.GetPointer());
		return vResult;
	}
Пример #2
0
	void	COALDevice::SetVelocity(const Math::CVector3D& vVelocity) {
		alListenerfv(AL_VELOCITY, vVelocity.GetPointer());
	}
Пример #3
0
	const Math::CVector3D	COALDevice::GetPosition() const {
		Math::CVector3D	vResult;
		alGetListenerfv(AL_POSITION, vResult.GetPointer());
		return vResult;
	}
Пример #4
0
	void	COALDevice::SetPosition(const Math::CVector3D& vPosition) {
		alListenerfv(AL_POSITION, vPosition.GetPointer());
	}
Пример #5
0
	const Math::CVector3D	COALListener::GetVelocity() const {
		CR_ALBINDCHECK(this->m_pParent->GetContext());
		Math::CVector3D	vResult;
		alGetListenerfv(AL_VELOCITY, vResult.GetPointer());	CR_ALCHECK();
		return vResult;
	}
Пример #6
0
	const Math::CVector3D	COALListener::GetPosition() const {
		CR_ALBINDCHECK(this->m_pParent->GetContext());
		Math::CVector3D	vResult;
		alGetListenerfv(AL_POSITION, vResult.GetPointer());	CR_ALCHECK();
		return vResult;
	}
Пример #7
0
	void	COALListener::SetVelocity(const Math::CVector3D& vVelocity) {
		CR_ALBINDCHECK(this->m_pParent->GetContext());
		alListenerfv(AL_VELOCITY, vVelocity.GetPointer());	CR_ALCHECK();
	}
Пример #8
0
	void	COALListener::SetPosition(const Math::CVector3D& vPosition) {
		CR_ALBINDCHECK(this->m_pParent->GetContext());
		alListenerfv(AL_POSITION, vPosition.GetPointer());	CR_ALCHECK();
	}