1
0
Fork 0

Remove dependency on model.hxx.

This commit is contained in:
curt 2003-05-09 18:51:16 +00:00
parent 5ecfcca7e4
commit eafdb70890

View file

@ -15,8 +15,6 @@
#include <simgear/scene/model/location.hxx> #include <simgear/scene/model/location.hxx>
#include "model.hxx"
#include "placement.hxx" #include "placement.hxx"
SG_USING_STD(vector); 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 void
FGModelPlacement::init( ssgBranch * model ) FGModelPlacement::init( ssgBranch * model )
{ {