7 #ifndef __ode_World_h__ 8 #define __ode_World_h__ 14 class FE_DL_EXPORT World :
15 virtual public MechanicsSimI,
16 public Initialize<World>
22 void initialize(
void);
23 virtual void step(Real a_dt);
25 virtual sp<BodyI> createBody(
void);
26 virtual sp<JointI> createJoint(JointType a_type,
27 sp<BodyI> a_A, sp<BodyI> a_B);
28 virtual sp<JointI> createContact(sp<BodyI> a_A,
29 const SpatialVector &a_location,
30 const SpatialVector &a_normal,
31 Real a_depth, Real a_stiffness,
32 Real a_damping, Real a_timestep);
34 virtual void setGravity(
const Vector3 &a_gravity);
36 dWorldID id(
void) {
return m_world; }
kernel
Definition: namespace.dox:3