From cd64681a7121e085407de3fc5a0c0e26205c0005 Mon Sep 17 00:00:00 2001 From: josh Date: Wed, 28 Oct 2009 02:52:22 +0000 Subject: [PATCH] renamed Cubes to Boxes git-svn-id: svn://anubis/misc/OdeWorld@199 bd8a9e45-a331-0410-811e-c64571078777 --- OdeWorld.cc | 2 +- OdeWorld.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);