renamed worldStep() to step()

git-svn-id: svn://anubis/misc/OdeWorld@157 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2009-10-05 19:06:23 +00:00
parent 6a6ad94c71
commit 8b21df8af1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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,