21 #ifndef _OF_DOUBLESINGLEUTILS_ 22 #define _OF_DOUBLESINGLEUTILS_ 38 static inline void DS_Split(
const osg::Vec3d &point, osg::Vec3f &high, osg::Vec3f &low)
45 static inline void DS_Subtract(
const osg::Vec3f &a_high,
46 const osg::Vec3f &a_low,
47 const osg::Vec3f &b_high,
48 const osg::Vec3f &b_low,
51 osg::Vec3f t1, t2, e, c_high, c_low;
54 t2 = ((-b_low - e) + (a_low - (t1 - e))) + a_high - b_high;
57 c_low = t2 - (c_high - t1);
58 result = c_high + c_low;
Definition: CoordinateAxes.hpp:29