Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
71 aabbMin.
setMin(worldVertex);
72 aabbMax.
setMax(worldVertex);
virtual int getNumEdges() const
virtual int getNumVertices() const
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual int getIndex(int i) const
virtual int getNumPlanes() const
virtual void getVertex(int i, btVector3 &vtx) const
virtual void getPlane(btVector3 &planeNormal, btVector3 &planeSupport, int i) const
void addVertex(const btVector3 &pt)
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.
virtual void getEdge(int i, btVector3 &pa, btVector3 &pb) const
void setMax(const btVector3 &other)
Set each element to the max of the current values and the values of another btVector3.
btVector3 can be used to represent 3D points and vectors.
virtual bool isInside(const btVector3 &pt, btScalar tolerance) const
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicat...
void setMin(const btVector3 &other)
Set each element to the min of the current values and the values of another btVector3.
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicat...