]> git.mxchange.org Git - flightgear.git/commitdiff
Remove dependency on model.hxx.
authorcurt <curt>
Fri, 9 May 2003 18:51:16 +0000 (18:51 +0000)
committercurt <curt>
Fri, 9 May 2003 18:51:16 +0000 (18:51 +0000)
src/Model/placement.cxx

index d8bf21e2f2c405f3545bd2e287e7d624ee5e6e1a..ac856e689f564bd92be3bbd2b3ce1fc74c4e37c6 100644 (file)
@@ -15,8 +15,6 @@
 
 #include <simgear/scene/model/location.hxx>
 
-#include "model.hxx"
-
 #include "placement.hxx"
 
 SG_USING_STD(vector);
@@ -44,21 +42,6 @@ FGModelPlacement::~FGModelPlacement ()
 {
 }
 
-#if 0
-void
-FGModelPlacement::init( const string &fg_root,
-                        const string &path,
-                        SGPropertyNode *prop_root,
-                        double sim_time_sec, int dummy )
-{
-  ssgBranch * model = fgLoad3DModel( fg_root, path, prop_root, sim_time_sec );
-  if (model != 0)
-      _position->addKid(model);
-  _selector->addKid(_position);
-  _selector->clrTraversalMaskBits(SSGTRAV_HOT);
-}
-#endif
-
 void
 FGModelPlacement::init( ssgBranch * model )
 {