renamed Cubes to Boxes
git-svn-id: svn://anubis/misc/OdeWorld@199 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
bee7a098bc
commit
cd64681a71
@ -249,7 +249,7 @@ dGeomID OdeWorld::Object::cloneGeom(dGeomID geom, dBodyID body)
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OdeWorld::Object::addCube(refptr< std::vector<float> > args)
|
bool OdeWorld::Object::addBox(refptr< std::vector<float> > args)
|
||||||
{
|
{
|
||||||
if (args->size() != 9)
|
if (args->size() != 9)
|
||||||
return false;
|
return false;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
class OdeWorld
|
class OdeWorld
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum GeomType { CUBE, SPHERE, PLANE, CYLINDER, CCYLINDER };
|
enum GeomType { BOX, SPHERE, PLANE, CYLINDER, CCYLINDER };
|
||||||
|
|
||||||
OdeWorld();
|
OdeWorld();
|
||||||
~OdeWorld();
|
~OdeWorld();
|
||||||
@ -29,7 +29,7 @@ class OdeWorld
|
|||||||
void setRotation(dReal x, dReal y, dReal z);
|
void setRotation(dReal x, dReal y, dReal z);
|
||||||
const dReal * getPosition();
|
const dReal * getPosition();
|
||||||
const dReal * getRotation();
|
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 addSphere(refptr< std::vector<float> > args);
|
||||||
bool addCylinder(refptr< std::vector<float> > args);
|
bool addCylinder(refptr< std::vector<float> > args);
|
||||||
bool addCCylinder(refptr< std::vector<float> > args);
|
bool addCCylinder(refptr< std::vector<float> > args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user