Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
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;
95 #endif //BT_MULTI_SPHERE_MINKOWSKI_H
btConvexInternalAabbCachingShape adds local aabb caching for convex shapes, to avoid expensive boundi...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual int calculateSerializeBufferSize() const
btAlignedObjectArray< btScalar > m_radiArray
int m_localPositionArraySize
btPositionAndRadius * m_localPositionArrayPtr
The btMultiSphereShape represents the convex hull of a collection of spheres.
btAlignedObjectArray< btVector3 > m_localPositionArray
const btVector3 & getSpherePosition(int index) const
btScalar getSphereRadius(int index) const
int getSphereCount() const
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
#define ATTRIBUTE_ALIGNED16(a)
virtual const char * getName() const
#define SIMD_FORCE_INLINE
btConvexInternalShapeData m_convexInternalShapeData
int size() const
return the number of elements in the array