16#ifndef BT_MULTI_SPHERE_MINKOWSKI_H
17#define BT_MULTI_SPHERE_MINKOWSKI_H
47 return m_localPositionArray.
size();
52 return m_localPositionArray[index];
SIMD_FORCE_INLINE btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual const char * getName() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
int getSphereCount() const
btMultiSphereShape(const btVector3 *positions, const btScalar *radi, int numSpheres)
btScalar getSphereRadius(int index) const
const btVector3 & getSpherePosition(int index) const
btAlignedObjectArray< btScalar > m_radiArray
unsigned calculateSerializeBufferSize() const
virtual bool serialize(void *o_alignedDataBuffer, unsigned i_dataBufferSize, bool i_swapEndian) const
Data buffer MUST be 16 byte aligned.
#define BT_DECLARE_ALIGNED_ALLOCATOR()
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
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
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