예제 #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();
	}