renamed worldStep() to step()
git-svn-id: svn://anubis/misc/OdeWorld@157 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
6a6ad94c71
commit
8b21df8af1
@ -72,7 +72,7 @@ OdeWorld::~OdeWorld()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* invokes ODE to do physics on our world */
|
/* invokes ODE to do physics on our world */
|
||||||
void OdeWorld::worldStep()
|
void OdeWorld::step()
|
||||||
{
|
{
|
||||||
dSpaceCollide(m_space, this, OdeWorld_collide_callback);
|
dSpaceCollide(m_space, this, OdeWorld_collide_callback);
|
||||||
dWorldQuickStep(m_world, WORLD_STEP);
|
dWorldQuickStep(m_world, WORLD_STEP);
|
||||||
|
@ -16,7 +16,7 @@ class OdeWorld
|
|||||||
{
|
{
|
||||||
dWorldSetGravity(m_world, x, y, z);
|
dWorldSetGravity(m_world, x, y, z);
|
||||||
}
|
}
|
||||||
void worldStep();
|
void step();
|
||||||
std::vector<dGeomID> loadPhy(const std::string & path,
|
std::vector<dGeomID> loadPhy(const std::string & path,
|
||||||
dBodyID * body, bool static_data = false);
|
dBodyID * body, bool static_data = false);
|
||||||
dGeomID addCube(const std::string & name, bool static_data,
|
dGeomID addCube(const std::string & name, bool static_data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user