+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "Atmosphere.hpp"
#include "Thruster.hpp"
#include "Math.hpp"
// Ask for the ground plane in the global coordinate system
double global_ground[4];
float global_vel[3];
- int type;
- const SGMaterial* material;
- _ground_cb->getGroundPlane(pt, global_ground, global_vel,
- &type,&material);
- static int h=0;
- g->setGlobalGround(global_ground, global_vel, pt[0], pt[1],
- type,material);
+ const simgear::BVHMaterial* material;
+ _ground_cb->getGroundPlane(pt, global_ground, global_vel, &material);
+ g->setGlobalGround(global_ground, global_vel, pt[0], pt[1], material);
}
for(i=0; i<_hitches.size(); i++) {