]> git.mxchange.org Git - flightgear.git/blob - src/Model/acmodel.hxx
Recover this file. We are not able to use boost as a replacement because
[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   ssgRoot * _scene;
41   float _nearplane;
42   float _farplane;
43
44 };
45
46 #endif // __ACMODEL_HXX
47