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