X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Ftgdb%2Fuserdata.hxx;h=da1cc3d1908d66b0e0895816802d51e7b742026f;hb=3b5665fe92802d3d36d6304cb2c184dc03e91de4;hp=b487ddad329a7c8f8f0c0fb97e551608fbe1149e;hpb=9dc1b5f6f56c6fecdcfefc2a0a75695a89f323a2;p=simgear.git diff --git a/simgear/scene/tgdb/userdata.hxx b/simgear/scene/tgdb/userdata.hxx index b487ddad..da1cc3d1 100644 --- a/simgear/scene/tgdb/userdata.hxx +++ b/simgear/scene/tgdb/userdata.hxx @@ -27,23 +27,11 @@ #include -#include STL_STRING +#include -#include - -#include -#include -#include - -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