21void btConvexPointCloudShape::setLocalScaling(
const btVector3& scaling)
28btVector3 btConvexPointCloudShape::localGetSupportingVertexWithoutMargin(
const btVector3& vec0)
const
37 vec.setValue(1, 0, 0);
56void btConvexPointCloudShape::batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const
58 for (
int j = 0; j < numVectors; j++)
68 supportVerticesOut[j][3] =
maxDot;
94int btConvexPointCloudShape::getNumVertices()
const
99int btConvexPointCloudShape::getNumEdges()
const
109void btConvexPointCloudShape::getVertex(
int i,
btVector3& vtx)
const
114int btConvexPointCloudShape::getNumPlanes()
const
SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual btScalar getMargin() const =0
SIMD_FORCE_INLINE btVector3 getScaledPoint(int i) const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
SIMD_FORCE_INLINE btScalar btSqrt(btScalar y)
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
SIMD_FORCE_INLINE long maxDot(const btVector3 *array, long array_count, btScalar &dotOut) const
returns index of maximum dot product between this and vectors in array[]