X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscene%2Fmaterial%2Fmatmodel.hxx;h=12ff23dd210d66ee8dff456365db782295808b95;hb=9dc1b5f6f56c6fecdcfefc2a0a75695a89f323a2;hp=982e89a95293015d6183071865df50ce5309d7ba;hpb=55c1ac36e3d05b436d0cb9b6aa8276badb86eaf3;p=simgear.git diff --git a/simgear/scene/material/matmodel.hxx b/simgear/scene/material/matmodel.hxx index 982e89a9..12ff23dd 100644 --- a/simgear/scene/material/matmodel.hxx +++ b/simgear/scene/material/matmodel.hxx @@ -46,7 +46,6 @@ SG_USING_STD(string); class SGMatModelGroup; -class SGModelLib; /** @@ -76,10 +75,7 @@ public: * * @return The number of variant models. */ - int get_model_count( SGModelLib *modellib, - const string &fg_root, - SGPropertyNode *prop_root, - double sim_time_sec ); + int get_model_count( SGPropertyNode *prop_root ); /** @@ -88,11 +84,7 @@ public: * @param index The index of the model. * @return The model. */ - osg::Node *get_model( int index, - SGModelLib *modellib, - const string &fg_root, - SGPropertyNode *prop_root, - double sim_time_sec ); + osg::Node *get_model( int index, SGPropertyNode *prop_root ); /** @@ -100,10 +92,7 @@ public: * * @return A randomly select model from the variants. */ - osg::Node *get_random_model( SGModelLib *modellib, - const string &fg_root, - SGPropertyNode *prop_root, - double sim_time_sec ); + osg::Node *get_random_model( SGPropertyNode *prop_root ); /** @@ -151,10 +140,7 @@ private: * This class uses lazy loading so that models won't be held * in memory for materials that are never referenced. */ - void load_models( SGModelLib *modellib, - const string &fg_root, - SGPropertyNode *prop_root, - double sim_time_sec ); + void load_models( SGPropertyNode *prop_root ); vector _paths; mutable vector > _models;