]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/SGQuat.hxx
canvas::Text: get maximum width (if displayed on a single line).
[simgear.git] / simgear / math / SGQuat.hxx
index 9449c914cbf731aed0d7ac9178c113dd3a4cb33e..2ac0ad2292c5c4a12ab0f61c707584677cd90ac2 100644 (file)
 #undef max
 #endif
 
-#ifndef NO_OPENSCENEGRAPH_INTERFACE
-#include <osg/Quat>
-#endif
-
 /// Quaternion Class
 template<typename T>
 class SGQuat {
@@ -780,16 +776,4 @@ SGQuatd
 toQuatd(const SGQuatf& v)
 { return SGQuatd(v(0), v(1), v(2), v(3)); }
 
-#ifndef NO_OPENSCENEGRAPH_INTERFACE
-inline
-SGQuatd
-toSG(const osg::Quat& q)
-{ return SGQuatd(q[0], q[1], q[2], q[3]); }
-
-inline
-osg::Quat
-toOsg(const SGQuatd& q)
-{ return osg::Quat(q[0], q[1], q[2], q[3]); }
-#endif
-
 #endif