diff --git a/OdeWorld.cc b/OdeWorld.cc index aa49f2e..9e32015 100644 --- a/OdeWorld.cc +++ b/OdeWorld.cc @@ -249,7 +249,7 @@ dGeomID OdeWorld::Object::cloneGeom(dGeomID geom, dBodyID body) return id; } -bool OdeWorld::Object::addCube(refptr< std::vector > args) +bool OdeWorld::Object::addBox(refptr< std::vector > args) { if (args->size() != 9) return false; diff --git a/OdeWorld.h b/OdeWorld.h index 92d06d1..7813cab 100644 --- a/OdeWorld.h +++ b/OdeWorld.h @@ -11,7 +11,7 @@ class OdeWorld { public: - enum GeomType { CUBE, SPHERE, PLANE, CYLINDER, CCYLINDER }; + enum GeomType { BOX, SPHERE, PLANE, CYLINDER, CCYLINDER }; OdeWorld(); ~OdeWorld(); @@ -29,7 +29,7 @@ class OdeWorld void setRotation(dReal x, dReal y, dReal z); const dReal * getPosition(); const dReal * getRotation(); - bool addCube(refptr< std::vector > args); + bool addBox(refptr< std::vector > args); bool addSphere(refptr< std::vector > args); bool addCylinder(refptr< std::vector > args); bool addCCylinder(refptr< std::vector > args);