16 #ifndef BT_MULTI_SPHERE_MINKOWSKI_H
17 #define BT_MULTI_SPHERE_MINKOWSKI_H
45 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
49 return m_localPositionArray.
size();
54 return m_localPositionArray[index];
59 return m_radiArray[index];
68 virtual int calculateSerializeBufferSize()
const;
71 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
101 #endif //BT_MULTI_SPHERE_MINKOWSKI_H
virtual int calculateSerializeBufferSize() const
int m_localPositionArraySize
The btMultiSphereShape represents the convex hull of a collection of spheres.
btScalar getSphereRadius(int index) const
virtual const char * getName() const
#define SIMD_FORCE_INLINE
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
btAlignedObjectArray< btScalar > m_radiArray
int size() const
return the number of elements in the array
int getSphereCount() const
btPositionAndRadius * m_localPositionArrayPtr
btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive boundi...
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btConvexInternalShapeData m_convexInternalShapeData
const btVector3 & getSpherePosition(int index) const
btAlignedObjectArray< btVector3 > m_localPositionArray
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...