void clAudioSource_OpenAL::SetVelocity( const LVector3& Velocity ) { #if L_AUDIO_USE_OPENAL alSourcef( FSourceID, AL_REFERENCE_DISTANCE, 1.0 ); alSourcefv( FSourceID, AL_VELOCITY, Velocity.ToFloatPtr() ); #endif }
void clAudioSource_OpenAL::SetPosition( const LVector3& Position ) { #if L_AUDIO_USE_OPENAL alSourcef( FSourceID, AL_REFERENCE_DISTANCE, 1.0 ); alSourcefv( FSourceID, AL_POSITION, Position.ToFloatPtr() ); #endif }
void clAudioSubSystem_OpenAL::SetListenerVelocity( const LVector3& Velocity ) { #if L_AUDIO_USE_OPENAL alListenerfv( AL_VELOCITY, Velocity.ToFloatPtr() ); #endif }
void clAudioSubSystem_OpenAL::SetListenerPosition( const LVector3& Position ) { #if L_AUDIO_USE_OPENAL alListenerfv( AL_POSITION, Position.ToFloatPtr() ); #endif }