Frederic Bouvier:
Add a select method to FGAircraftModel to draw the aircraft or not when calling ssgCullAndDraw on the whole scene.
This commit is contained in:
parent
b34f0711c4
commit
4e6a009476
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ public:
|
||||||
virtual void update (double dt);
|
virtual void update (double dt);
|
||||||
virtual void draw ();
|
virtual void draw ();
|
||||||
virtual SGModelPlacement * get3DModel() { return _aircraft; }
|
virtual SGModelPlacement * get3DModel() { return _aircraft; }
|
||||||
|
void select( bool s ) { _selector->select( s ? 0xffffffff : 0 ); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue