21btVector3 btSphereShape::localGetSupportingVertexWithoutMargin(
const btVector3& vec)
const
27void btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors, btVector3* supportVerticesOut,
int numVectors)
const
31 for (
int i = 0; i < numVectors; i++)
37btVector3 btSphereShape::localGetSupportingVertex(
const btVector3& vec)
const
42 btVector3 vecnorm = vec;
53void btSphereShape::getAabb(
const btTransform& t, btVector3& aabbMin, btVector3& aabbMax)
const
55 const btVector3& center = t.getOrigin();
57 aabbMin = center - extent;
58 aabbMax = center + extent;
61void btSphereShape::calculateLocalInertia(
btScalar mass, btVector3& inertia)
const
64 inertia.setValue(elem, elem, elem);
SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual btScalar getMargin() const =0
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...