30 #include "BulletDynamics/Dynamics/btRigidBody.h"
31 #include "btBulletDynamicsCommon.h"
43 const double length) :
44 tgBox(pRigidBody, tags, length),
49 if (pRigidBody == NULL)
51 throw std::invalid_argument(
"Pointer to btRigidBody is NULL");
69 bool tgBoxMoreAnchors::invariant()
const
virtual ~tgBoxMoreAnchors()
virtual void render(const tgRod &rod) const
Contains the definition of interface class tgModelVisitor.
virtual void onVisit(const tgModelVisitor &v) const
tgBoxMoreAnchors(btRigidBody *pRigidBody, const tgTags &tags, const double length)
Create a box shape. This class supports more than two anchor points.