1 // model.hxx - manage a 3D aircraft model.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain, and comes with no warranty.
10 # error This library requires C++
14 #include <simgear/misc/props.hxx>
15 #include <simgear/timing/timestamp.hxx>
17 class FGAircraftModel : public FGSubsystem
22 virtual ~FGAircraftModel ();
26 virtual void unbind ();
27 virtual void update (int dt);
31 SGPropertyNode * _props;
33 ssgSelector * _selector;
34 ssgTransform * _position;
36 SGTimeStamp _last_timestamp;
37 SGTimeStamp _current_timestamp;
39 ssgTransform * _prop_position;
43 extern FGAircraftModel current_model;