1
0
Fork 0

Remove unused variables.

Modified Files:
	src/ATCDCL/AIEntity.cxx src/ATCDCL/AIEntity.hxx
	src/ATCDCL/AIGAVFRTraffic.hxx src/ATCDCL/AILocalTraffic.cxx
This commit is contained in:
frohlich 2009-03-16 11:57:35 +00:00 committed by Tim Moore
parent 4a9484ac25
commit 6ac5dd61e9
4 changed files with 1 additions and 16 deletions

View file

@ -53,8 +53,7 @@ FGAIEntity::~FGAIEntity() {
}
void FGAIEntity::SetModel(osg::Node* model) {
_model = model;
_aip.init(_model.get());
_aip.init(model);
_aip.setVisible(false);
globals->get_scenery()->get_scene_graph()->addChild(_aip.getSceneGraph());

View file

@ -61,8 +61,6 @@ protected:
double _roll; //degrees
double _pitch; //degrees
char* _model_path; //Path to the 3D model
osg::ref_ptr<osg::Node> _model; // Pointer to the model
SGModelPlacement _aip;
double _ground_elevation_m;

View file

@ -111,8 +111,6 @@ private:
bool _entering;
bool _turning;
//ssgBranch* _model;
int GetQuadrangleAltitude(int dir, int des_alt);
Point3D GetPatternApproachPos();

View file

@ -53,16 +53,6 @@ using std::string;
#include "AIMgr.hxx"
FGAILocalTraffic::FGAILocalTraffic() {
/*ssgBranch *model = sgLoad3DModel( globals->get_fg_root(),
planepath.c_str(),
globals->get_props(),
globals->get_sim_time_sec() );
*//*
_model = model;
_aip.init(_model);
*/
//SetModel(model);
ATC = globals->get_ATC_mgr();
// TODO - unhardwire this