]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/Ground.hpp
FGPUIDialog: fix reading from already free'd memory.
[flightgear.git] / src / FDM / YASim / Ground.hpp
1 #ifndef _GROUND_HPP
2 #define _GROUND_HPP
3
4 namespace simgear {
5 class BVHMaterial;
6 }
7 namespace yasim {
8
9 class Ground {
10 public:
11     Ground();
12     virtual ~Ground();
13
14     virtual void getGroundPlane(const double pos[3],
15                                 double plane[4], float vel[3]);
16
17     virtual void getGroundPlane(const double pos[3],
18                                 double plane[4], float vel[3],
19                                 const simgear::BVHMaterial **material);
20
21     virtual bool caughtWire(const double pos[4][3]);
22
23     virtual bool getWire(double end[2][3], float vel[2][3]);
24
25     virtual void releaseWire(void);
26
27     virtual float getCatapult(const double pos[3],
28                               double end[2][3], float vel[2][3]);
29 };
30
31 }; // namespace yasim
32 #endif // _GROUND_HPP