2005-02-17 10:37:26 +00:00
|
|
|
#ifndef _GROUND_HPP
|
|
|
|
#define _GROUND_HPP
|
|
|
|
|
2007-01-17 20:42:39 +00:00
|
|
|
class SGMaterial;
|
2005-02-17 10:37:26 +00:00
|
|
|
namespace yasim {
|
|
|
|
|
|
|
|
class Ground {
|
|
|
|
public:
|
|
|
|
Ground();
|
|
|
|
virtual ~Ground();
|
|
|
|
|
|
|
|
virtual void getGroundPlane(const double pos[3],
|
|
|
|
double plane[4], float vel[3]);
|
|
|
|
|
2007-01-17 20:42:39 +00:00
|
|
|
virtual void getGroundPlane(const double pos[3],
|
|
|
|
double plane[4], float vel[3],
|
|
|
|
int *type, const SGMaterial **material);
|
|
|
|
|
2005-02-17 10:37:26 +00:00
|
|
|
virtual bool caughtWire(const double pos[4][3]);
|
|
|
|
|
|
|
|
virtual bool getWire(double end[2][3], float vel[2][3]);
|
|
|
|
|
|
|
|
virtual void releaseWire(void);
|
|
|
|
|
|
|
|
virtual float getCatapult(const double pos[3],
|
|
|
|
double end[2][3], float vel[2][3]);
|
|
|
|
};
|
|
|
|
|
|
|
|
}; // namespace yasim
|
|
|
|
#endif // _GROUND_HPP
|