7#include <simgear/bvh/BVHMaterial.hxx>
11void Ground::getGroundPlane(
const double pos[3],
12 double plane[4],
float vel[3],
19 Glue::geodUp((
double*)pos, up);
21 for(
i=0;
i<3;
i++) plane[
i] = up[
i];
22 plane[3] = plane[0]*pos[0] + plane[1]*pos[1] + plane[2]*pos[2];
31void Ground::getGroundPlane(
const double pos[3],
32 double plane[4],
float vel[3],
33 const simgear::BVHMaterial **material,
36 getGroundPlane(pos,plane,vel,body);
39bool Ground::getBody(
double t,
double bodyToWorld[16],
double linearVel[3],
40 double angularVel[3],
unsigned int &body)
45bool Ground::caughtWire(
const double pos[4][3])
50bool Ground::getWire(
double end[2][3],
float vel[2][3])
55void Ground::releaseWire(
void)
59float Ground::getCatapult(
const double pos[3],
double end[2][3],