16#ifndef BT_MULTI_SPHERE_MINKOWSKI_H
17#define BT_MULTI_SPHERE_MINKOWSKI_H
47 return m_localPositionArray.
size();
52 return m_localPositionArray[index];
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual int calculateSerializeBufferSize() const
virtual const char * getName() const
int getSphereCount() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
CollisionShape Interface.
btMultiSphereShape(const btVector3 *positions, const btScalar *radi, int numSpheres)
btScalar getSphereRadius(int index) const
const btVector3 & getSpherePosition(int index) const
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
btAlignedObjectArray< btScalar > m_radiArray
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
SIMD_FORCE_INLINE int size() const
return the number of elements in the array
btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive boundi...
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btConvexInternalShapeData m_convexInternalShapeData
int m_localPositionArraySize
btPositionAndRadius * m_localPositionArrayPtr