|
Blender V4.3
|
#include "btConvexInternalShape.h"#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"#include "LinearMath/btAlignedObjectArray.h"#include "LinearMath/btAabbUtil2.h"Go to the source code of this file.
Classes | |
| struct | btPositionAndRadius |
| struct | btMultiSphereShapeData |
Functions | |
| BT_DECLARE_ALIGNED_ALLOCATOR () | |
| btMultiSphereShape (const btVector3 *positions, const btScalar *radi, int numSpheres) | |
| virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
| CollisionShape Interface. | |
| virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
| btConvexShape Interface | |
| virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
| int | getSphereCount () const |
| const btVector3 & | getSpherePosition (int index) const |
| btScalar | getSphereRadius (int index) const |
| virtual const char * | getName () const |
| virtual int | calculateSerializeBufferSize () const |
| virtual const char * | serialize (void *dataBuffer, btSerializer *serializer) const |
| fills the dataBuffer and returns the struct name (and 0 on failure) | |
Variables | |
| btMultiSphereShape | __pad0__ |
| btAlignedObjectArray< btScalar > | m_radiArray |
|
virtual |
Definition at line 71 of file btBox2dShape.h.
| BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
| btMultiSphereShape::btMultiSphereShape | ( | const btVector3 * | positions, |
| const btScalar * | radi, | ||
| int | numSpheres ) |
Definition at line 25 of file btMultiSphereShape.cpp.
References m_radiArray, MULTI_SPHERE_SHAPE_PROXYTYPE, recalcLocalAabb(), and btAlignedObjectArray< T >::resize().
Referenced by btCollisionWorldImporter::createMultiSphereShape(), and btCollisionWorld::debugDrawObject().
CollisionShape Interface.
Definition at line 54 of file btConeShape.h.
|
virtual |
|
virtual |
Definition at line 60 of file btMultiSphereShape.h.
| int getSphereCount | ( | ) | const |
Definition at line 45 of file btMultiSphereShape.h.
References btAlignedObjectArray< T >::size().
Definition at line 50 of file btMultiSphereShape.h.
Definition at line 55 of file btMultiSphereShape.h.
References m_radiArray.
btConvexShape Interface
Definition at line 62 of file btBox2dShape.h.
|
virtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
| btMultiSphereShape __pad0__ |
The btMultiSphereShape represents the convex hull of a collection of spheres. You can create special capsules or other smooth volumes. It is possible to animate the spheres for deformation, but call 'recalcLocalAabb' after changing any sphere position/radius
Definition at line 27 of file btMultiSphereShape.h.
| btAlignedObjectArray<btScalar> m_radiArray |
Definition at line 30 of file btMultiSphereShape.h.
Referenced by btMultiSphereShape(), and getSphereRadius().