]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/userdata.hxx
Only disable display lists if using VBOs.
[simgear.git] / simgear / scene / tgdb / userdata.hxx
index 5acf06a32eb893fd1e18d7d700569ff5776eb5a3..da1cc3d1908d66b0e0895816802d51e7b742026f 100644 (file)
 
 #include <simgear/compiler.h>
 
-#include <string>
+#include <osg/Node>
 
-#include <plib/sg.h>
-
-#include <osg/Referenced>
-#include <osg/Geometry>
-#include <osg/Group>
-
-SG_USING_STD(string);
-
-class SGMaterial;
 class SGMatModel;
-class SGMatModelGroup;
-class SGModelLib;
 class SGPropertyNode;
 
-
 /**
  * the application must call sgUserDataInit() and specify the
  * following values (needed by the model loader callback at draw time)
@@ -51,9 +39,12 @@ class SGPropertyNode;
  */
 void sgUserDataInit(SGPropertyNode *p);
 
+namespace simgear
+{
 /**
- * Get a random model.
+ * Get the property root for the simulation
  */
-osg::Node* sgGetRandomModel(SGMatModel *obj);
+SGPropertyNode* getPropertyRoot();
+}
 
 #endif // _SG_USERDATA_HXX