Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
110 for (
int i = 0; i < numVectors; i++)
btScalar length() const
Return the length of the vector.
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
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...
btConeShape(btScalar radius, btScalar height)
void setConeUpIndex(int upIndex)
choose upAxis index
virtual void setLocalScaling(const btVector3 &scaling)
btVector3 coneLocalSupport(const btVector3 &v) const
btVector3 m_implicitShapeDimensions
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
btVector3 can be used to represent 3D points and vectors.
virtual btScalar getMargin() const
virtual void setLocalScaling(const btVector3 &scaling)
btConeShapeZ(btScalar radius, btScalar height)
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y ...
btConeShapeX(btScalar radius, btScalar height)
btScalar btSqrt(btScalar y)
btVector3 & normalize()
Normalize this vector x^2 + y^2 + z^2 = 1.
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
btScalar length2() const
Return the length of the vector squared.