renamed Cubes to Boxes

git-svn-id: svn://anubis/misc/OdeWorld@199 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2009-10-28 02:52:22 +00:00
parent bee7a098bc
commit cd64681a71
2 changed files with 3 additions and 3 deletions

View File

@ -249,7 +249,7 @@ dGeomID OdeWorld::Object::cloneGeom(dGeomID geom, dBodyID body)
return id;
}
bool OdeWorld::Object::addCube(refptr< std::vector<float> > args)
bool OdeWorld::Object::addBox(refptr< std::vector<float> > args)
{
if (args->size() != 9)
return false;

View File

@ -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<float> > args);
bool addBox(refptr< std::vector<float> > args);
bool addSphere(refptr< std::vector<float> > args);
bool addCylinder(refptr< std::vector<float> > args);
bool addCCylinder(refptr< std::vector<float> > args);