]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/model/CheckSceneryVisitor.cxx
Merge branch 'timoore/aptsign' into next
[simgear.git] / simgear / scene / model / CheckSceneryVisitor.cxx
index cc47117609fa691faa5b3a261463a843013e4959..ebcc011e650de3e7964b16e6c29f78650393235f 100644 (file)
 #include "CheckSceneryVisitor.hxx"
 #include "SGPagedLOD.hxx"
 
-#include <simgear/Math/SGMath.hxx>
+#include <simgear/math/SGMath.hxx>
 
 using namespace simgear;
 
-CheckSceneryVisitor::CheckSceneryVisitor(osgDB::DatabasePager* dbp, osg::Vec3 &position, double range)
+CheckSceneryVisitor::CheckSceneryVisitor(osgDB::DatabasePager* dbp, const osg::Vec3 &position, double range)
 :osg::NodeVisitor(osg::NodeVisitor::NODE_VISITOR,
                   osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN),
-_loaded(true), _position(position), _range(range), _dbp(dbp)
+_position(position), _range(range), _loaded(true), _dbp(dbp)
 {
     _viewMatrices.push_back(osg::Matrix::identity());
 }