14 void Ground::getGroundPlane(const double pos[3],
15 double plane[4], float vel[3])
17 // ground. Calculate a cartesian coordinate for the ground under
18 // us, find the (geodetic) up vector normal to the ground, then
19 // use that to find the final (radius) term of the plane equation.
21 Glue::geodUp((double*)pos, up);
23 for(i=0; i<3; i++) plane[i] = up[i];
24 plane[3] = plane[0]*pos[0] + plane[1]*pos[1] + plane[2]*pos[2];
31 bool Ground::caughtWire(const double pos[4][3])
36 bool Ground::getWire(double end[2][3], float vel[2][3])
41 void Ground::releaseWire(void)
45 float Ground::getCatapult(const double pos[3], double end[2][3],