]> git.mxchange.org Git - flightgear.git/blob - src/Model/acmodel.hxx
22401df6100fd29301f166dd80736fb5adc0be79
[flightgear.git] / src / Model / acmodel.hxx
1 // model.hxx - manage a 3D aircraft model.
2 // Written by David Megginson, started 2002.
3 //
4 // This file is in the Public Domain, and comes with no warranty.
5
6 #ifndef __ACMODEL_HXX
7 #define __ACMODEL_HXX 1
8
9 #ifndef __cplusplus
10 # error This library requires C++
11 #endif
12
13 #include <vector>
14
15 SG_USING_STD(string);
16 SG_USING_STD(vector);
17
18 #include <simgear/misc/props.hxx>
19
20 #include <Main/fgfs.hxx>
21
22 #include "model.hxx"
23
24
25 class FGAircraftModel : public FGSubsystem
26 {
27 public:
28
29   FGAircraftModel ();
30   virtual ~FGAircraftModel ();
31
32   virtual void init ();
33   virtual void bind ();
34   virtual void unbind ();
35   virtual void update (int dt);
36
37 private:
38
39   FG3DModel * _aircraft;
40
41 };
42
43 #endif // __ACMODEL_HXX
44