|
From: James W. <ja...@fr...> - 2009-04-27 17:52:09
|
Stefan Huber wrote: >>> At least nan, inf, etc. do not work (correctly) when __FAST_MATH__ is on. >> Please tell me more. How do they work differently when it is off? > > About two years ago I ported an app that relies on nan, etc. from CW > to Xcode. The main problem is (as far as I remember) that isnan, > isinf and similar functions always return false if __FAST_MATH__ is > on. Quesa does not use these functions. > > BTW CWs "Relaxed IEEE Floating Point" setting works perfectly well with nan. Quesa does use isfinite, and I'm sure I would have noticed if it wasn't working... rendering with shadows requires an infinite yon, and E3ViewAngleAspectCamera::GetFrustumMatrix uses isfinite to do the right thing in that case. -- James W. Walker, Innoventive Software LLC <http://www.frameforge3d.com/> |