DemoGL::Reference::Structures::SListener3DPosition

SListener3DPosition

SListener3DPosition specifies the 3D position, orientation and velocity of the global listener.

typedef struct
{
	SSoundSystem3DVector	m_ssvPosition;
	SSoundSystem3DVector	m_ssvVelocity;
	SSoundSystem3DVector	m_ssvFront;
	SSoundSystem3DVector	m_ssvTop;
} SListener3DPosition;
Members.
m_ssvPosition
Specifies the 3D coordinate in 3D space where the global listener is positioned.
m_ssvVelocity
Specifies the velocity of the listener, in the direction m_svvFront. m_svvVelocity is only needed for doppler calculations, not position calculations of the global listener.
m_ssvFront
Specifies the orientation of the global listener's front side on position m_svvPosition.
m_ssvTop
Specifies the orientation of the global listener's top on position m_svvPosition

Remarks.
Used with DEMOGL_SoundSystemSetListener3DPosition. Keep in mind the units vs 3D coordinates discussion, so you get the desired sound.

Requirements.
DemoGL v1.3 (build 0112 or higher)

See also.
SSoundSystem3DVector, DEMOGL_SoundSystemSetListener3DPosition,

Last changed on 20-jan-2001

©1999-2001 Solutions Design