Blender  V3.3
Functions | Variables
btSphereShape.h File Reference
#include "btConvexInternalShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"

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 More...
 
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia) const
 CollisionShape Interface. More...
 
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. More...
 
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. More...
 

Function Documentation

◆ batchedUnitVectorGetSupportingVertexWithoutMargin()

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

Definition at line 71 of file btBox2dShape.h.

◆ btSphereShape()

btSphereShape ( btScalar  radius)

◆ 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()

virtual btScalar getMargin ( ) const
virtual

◆ 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.

Referenced by setUnscaledRadius().

◆ setUnscaledRadius()

void setUnscaledRadius ( btScalar  radius)

Definition at line 50 of file btSphereShape.h.

References m_implicitShapeDimensions, and setMargin().

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.