Re: +0 and -0
Chris Robinson <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
On Thursday, April 07, 2011 6:05:31 AM Kanishka Weerasekara wrote: > Is there a difference between +0.0 and -0.0 in position of an sound object. > My idea was that 0,0 is the origin and had continuous values positive and > negative. But now when - value was added in front of the 0.0 the sound > seems to be more biased towards the rear. Is this imaginary, or is there a > reason behind this. Hi. I think in general, +0 and -0 shouldn't have an appreciable difference in positioning. They're used as-is with the internal calculations, so some gotchas with IEEE fp math may apply, but a +0 or -0 in the relative position shouldn't pan differently. However, if the values are very small, like -0.0000001 or +0.0000001, then the panning may be noticeable (depending on which plane is offset like that, the output setup, the implementation, and certain source properties). _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal