The btSphereShape implements an implicit sphere, centered around a local origin with radius. More...
#include <btSphereShape.h>


Public Member Functions | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btSphereShape (btScalar radius) | |
| virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
| virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
| virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
| virtual void | getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const |
| getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version | |
| btScalar | getRadius () const |
| void | setUnscaledRadius (btScalar radius) |
| virtual const char * | getName () const |
| virtual void | setMargin (btScalar margin) |
| virtual btScalar | getMargin () const |
The btSphereShape implements an implicit sphere, centered around a local origin with radius.
Definition at line 22 of file btSphereShape.h.
| btSphereShape::btSphereShape | ( | btScalar | radius | ) | [inline] |
Definition at line 29 of file btSphereShape.h.
| void btSphereShape::batchedUnitVectorGetSupportingVertexWithoutMargin | ( | const btVector3 * | vectors, | |
| btVector3 * | supportVerticesOut, | |||
| int | numVectors | |||
| ) | const [virtual] |
Implements btConvexShape.
Definition at line 27 of file btSphereShape.cpp.
| btSphereShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Reimplemented from btConvexShape.
Implements btCollisionShape.
Definition at line 65 of file btSphereShape.cpp.
| void btSphereShape::getAabb | ( | const btTransform & | t, | |
| btVector3 & | aabbMin, | |||
| btVector3 & | aabbMax | |||
| ) | const [virtual] |
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
Reimplemented from btConvexInternalShape.
Definition at line 55 of file btSphereShape.cpp.
| virtual btScalar btSphereShape::getMargin | ( | ) | const [inline, virtual] |
Reimplemented from btConvexInternalShape.
Definition at line 62 of file btSphereShape.h.
| virtual const char* btSphereShape::getName | ( | ) | const [inline, virtual] |
Implements btCollisionShape.
Definition at line 56 of file btSphereShape.h.
| btScalar btSphereShape::getRadius | ( | ) | const [inline] |
Definition at line 47 of file btSphereShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 38 of file btSphereShape.cpp.
| btVector3 btSphereShape::localGetSupportingVertexWithoutMargin | ( | const btVector3 & | vec | ) | const [virtual] |
Implements btConvexShape.
Definition at line 21 of file btSphereShape.cpp.
| virtual void btSphereShape::setMargin | ( | btScalar | margin | ) | [inline, virtual] |
Reimplemented from btConvexInternalShape.
Definition at line 58 of file btSphereShape.h.
| void btSphereShape::setUnscaledRadius | ( | btScalar | radius | ) | [inline] |
Definition at line 49 of file btSphereShape.h.
1.6.1