- _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);
+ _ground_cb->getGroundPlane(pt, global_ground, global_vel, &material);
+ g->setGlobalGround(global_ground, global_vel, pt[0], pt[1], material);