コード例 #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();
	}