19 #ifndef BTEN_BOX_MORE_ANCHORS_H
20 #define BTEN_BOX_MORE_ANCHORS_H
40 #include "btBulletDynamicsCommon.h"
153 virtual bool containsNode(
const btVector3& nodeVector)
const;
206 btVector3 getHalfExtentsOrientedY()
const;
207 btVector3 getHalfExtentsOrientedZ()
const;
221 double tgEpsilon = SIMD_EPSILON * 10;
237 os <<
"tgBoxMoreAnchorsInfo(" << box.
getFrom() <<
", " << box.
getTo() <<
")";
std::ostream & operator<<(std::ostream &os, const tgBoxMoreAnchorsInfo &box)
tgBoxMoreAnchorsInfo(const tgBox::Config &config)
const btVector3 & getFrom() const
Definition of class tgPairs.
tgRigidInfo * createRigidInfo(const tgPair &pair)
Class that interfaces with Bullet to build the boxes.
btVector3 getHalfExtents() const
const btVector3 & getTo() const
std::string getBoxOrientation() const
btVector3 getHalfExtentsOrientedX() const
virtual tgModel * createModel(tgWorld &world)
bool isNodeOnBoxSurface(const btVector3 &nodeVector) const
virtual ~tgBoxMoreAnchorsInfo()
Rand seeding simular to the evolution and terrain classes.
virtual std::set< tgRigidInfo * > getLeafRigids()
Create a box shape. This class supports more than two anchor points.
virtual bool containsNode(const btVector3 &nodeVector) const