|
From: James W. <ja...@fr...> - 2007-06-01 17:42:06
|
James W. Walker wrote: > It looks like INFINITY is from C99, not C++... is there a C99 > compatibility option you can turn on? > > INFINITY is only used in QOLights.cpp, right? You could try adding this > > #ifndef INFINITY > #define INFINITY std::numeric_limits<float>::infinity() > #endif > > in that file just after the #includes. P.S. I have checked in changes to QOLights.cpp and E3Math.c, replacing INFINITY with std::numeric_limits<float>::infinity() and including <limits>. Let me know if that works for you. -- James W. Walker, Innoventive Software LLC <http://www.frameforge3d.com/> |