Blender V4.3
btSphereShape.h File Reference

Go to the source code of this file.

Functions

 btSphereShape (btScalar radius)
 
virtual btVector3 localGetSupportingVertex (const btVector3 &vec) const
 
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
 btConvexShape Interface
 
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
 CollisionShape Interface.
 
virtual void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
 getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
 
btScalar getRadius () const
 
void setUnscaledRadius (btScalar radius)
 
virtual const char * getName () const
 
virtual void setMargin (btScalar margin)
 
virtual btScalar getMargin () const
 

Variables

btSphereShape __pad0__
 The btSphereShape implements an implicit sphere, centered around a local origin with radius.
 

Function Documentation

◆ batchedUnitVectorGetSupportingVertexWithoutMargin()

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin ( const btVector3 * vectors,
btVector3 * supportVerticesOut,
int numVectors ) const
virtual

Definition at line 71 of file btBox2dShape.h.

◆ btSphereShape()

◆ calculateLocalInertia()

virtual void calculateLocalInertia ( btScalar mass,
btVector3 & inertia ) const
virtual

CollisionShape Interface.

Definition at line 54 of file btConeShape.h.

◆ getAabb()

virtual void getAabb ( const btTransform & t,
btVector3 & aabbMin,
btVector3 & aabbMax ) const
virtual

getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.

getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version

getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.

Definition at line 54 of file btCapsuleShape.h.

◆ getMargin()

◆ getName()

virtual const char * getName ( ) const
virtual

Definition at line 57 of file btSphereShape.h.

◆ getRadius()

btScalar getRadius ( ) const

Definition at line 48 of file btSphereShape.h.

References m_implicitShapeDimensions, and m_localScaling.

Referenced by getMargin().

◆ localGetSupportingVertex()

virtual btVector3 localGetSupportingVertex ( const btVector3 & vec) const
virtual

Definition at line 51 of file btBox2dShape.h.

◆ localGetSupportingVertexWithoutMargin()

virtual btVector3 localGetSupportingVertexWithoutMargin ( const btVector3 & vec) const
virtual

btConvexShape Interface

Definition at line 62 of file btBox2dShape.h.

◆ setMargin()

virtual void setMargin ( btScalar margin)
virtual

Definition at line 59 of file btSphereShape.h.

◆ setUnscaledRadius()

void setUnscaledRadius ( btScalar radius)

Definition at line 50 of file btSphereShape.h.

References m_implicitShapeDimensions.

Variable Documentation

◆ __pad0__

btSphereShape __pad0__

The btSphereShape implements an implicit sphere, centered around a local origin with radius.

Definition at line 23 of file btSphereShape.h.