]> git.mxchange.org Git - flightgear.git/blobdiff - src/Model/modelmgr.cxx
Remove unnecessary includes/using
[flightgear.git] / src / Model / modelmgr.cxx
index 0310274bd612c38cf55dbb38ff08a17e0dd9ac26..449c3bedc8ff0ce5598391ea68c186c8d60a90fb 100644 (file)
@@ -18,8 +18,6 @@
 #include <vector>
 #include <cstring>
 
-#include <osg/Math>
-
 #include <simgear/scene/model/placement.hxx>
 #include <simgear/scene/model/modellib.hxx>
 #include <simgear/structure/exception.hxx>
@@ -150,7 +148,7 @@ namespace
 {
 double testNan(double val) throw (sg_range_exception)
 {
-    if (osg::isNaN(val))
+    if (SGMisc<double>::isNaN(val))
         throw sg_range_exception("value is nan");
     return val;
 }