AL_DIRECTION // rotating source

mike4linux <[email protected]> Wed, 13 Jun 2012 23:42:58 -0700 (PDT)
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Hi
pPsi is the heading angle in degrees. I set soundpositions:

float hdgPv = fmod(pPsi + 180, 360);//front x position
float hdgPh = fmod(pPsi, 360);//back

alSource3f(Sources[2], AL_POSITION, hdgPv/10, lY/10, lZ/10); //front


now attenuation is fine for back but for front I get a interruption
when angle goes from 360 - 0. Any
idea on how to fix that? I was also looking for AL_DIRECTION but
couldn't find any solution.
Many thanks

-- 
View this message in context: http://old.nabble.com/AL_DIRECTION----rotating-source-tp34010052p34010052.html
Sent from the OpenAL - User mailing list archive at Nabble.com.

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal