#include "btPolyhedralConvexShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
#include "LinearMath/btAlignedObjectArray.h"
Go to the source code of this file.
Classes | |
struct | btConvexHullShapeData |
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More... | |
Functions | |
ATTRIBUTE_ALIGNED16 (class) btConvexHullShape |
ATTRIBUTE_ALIGNED16 | ( | class | ) |
The btConvexHullShape implements an implicit convex hull of an array of vertices. Bullet provides a general and fast collision detector for convex shapes based on GJK and EPA using localGetSupportingVertex.
this constructor optionally takes in a pointer to points. Each point is assumed to be 3 consecutive btScalar (x,y,z), the striding defines the number of bytes between each point, in memory. It is easier to not pass any points in the constructor, and just add one point at a time, using addPoint. btConvexHullShape make an internal copy of the points.
getPoints is obsolete, please use getUnscaledPoints
in case we receive negative scaling
fills the dataBuffer and returns the struct name (and 0 on failure)
Definition at line 26 of file btConvexHullShape.h.