Bill Galbraith wrote:
> The 'isnan' error showed up a numebr of times. That looked like it.

As Norman pointed out include/osg/Math.

Compare the beginning lines to these lines (the first and last lines (inline 
and template are untouched and not sure of the rest):

inline double round(double v) { return v>=0.0?floor(v+0.5):ceil(v-0.5); }

#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MWERKS__)
    inline bool isNaN(float v) { return _isnan(v)!=0; }
    inline bool isNaN(double v) { return _isnan(v)!=0; }
#else
    #if defined(__APPLE__)
        inline bool isNaN(float v) { return std::isnan(v); }
        inline bool isNaN(double v) { return std::isnan(v); }
    #else
        // Need to use to std::isnan to avoid undef problem from <cmath>
        inline bool isNaN(float v) { return isnan(v); }
        inline bool isNaN(double v) { return isnan(v); }
    #endif
#endif


/** compute the volume of a tetrahedron. */
template<typename T>

This is the way I modified mine for Cygwin

bk





_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to