110 for (
int i = 0; i < numVectors; i++)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btScalar btSqrt(btScalar y)
btConeShapeX(btScalar radius, btScalar height)
btConeShapeZ(btScalar radius, btScalar height)
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y ...
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConeShape(btScalar radius, btScalar height)
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual void setLocalScaling(const btVector3 &scaling)
btVector3 coneLocalSupport(const btVector3 &v) const
void setConeUpIndex(int upIndex)
choose upAxis index
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
btVector3 m_implicitShapeDimensions
virtual void setLocalScaling(const btVector3 &scaling)
virtual btScalar getMargin() const
btVector3 can be used to represent 3D points and vectors.
btScalar length() const
Return the length of the vector.
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
btScalar length2() const
Return the length of the vector squared.
btVector3 & normalize()
Normalize this vector x^2 + y^2 + z^2 = 1.