16#ifndef BT_MULTI_SPHERE_MINKOWSKI_H
17#define BT_MULTI_SPHERE_MINKOWSKI_H
43 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
47 return m_localPositionArray.
size();
52 return m_localPositionArray[index];
57 return m_radiArray[index];
65 virtual int calculateSerializeBufferSize()
const;
68 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
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
int size() const
return the number of elements in the array
btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive boundi...
The btMultiSphereShape represents the convex hull of a collection of spheres.
btAlignedObjectArray< btVector3 > m_localPositionArray
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual int calculateSerializeBufferSize() const
virtual const char * getName() const
int getSphereCount() const
const btVector3 & getSpherePosition(int index) const
btScalar getSphereRadius(int index) const
btAlignedObjectArray< btScalar > m_radiArray
btVector3 can be used to represent 3D points and vectors.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btConvexInternalShapeData m_convexInternalShapeData
int m_localPositionArraySize
btPositionAndRadius * m_localPositionArrayPtr