16#ifndef BT_CONE_MINKOWSKI_H
17#define BT_CONE_MINKOWSKI_H
40 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
59 getAabb(identity, aabbMin, aabbMax);
73 inertia = scaledmass * (
btVector3(y2 + z2, x2 + z2, x2 + y2));
86 void setConeUpIndex(
int upIndex);
90 return m_coneIndices[1];
98 virtual void setLocalScaling(
const btVector3& scaling);
100 virtual int calculateSerializeBufferSize()
const;
103 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
172 return "btConeShapeData";
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
btConeShape implements a Cone shape, around the X axis
virtual const char * getName() const
btConeShapeX(btScalar radius, btScalar height)
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
btConeShapeZ implements a Cone shape, around the Z axis
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
btConeShapeZ(btScalar radius, btScalar height)
virtual const char * getName() const
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y ...
btScalar getRadius() const
void setRadius(const btScalar radius)
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
BT_DECLARE_ALIGNED_ALLOCATOR()
void setHeight(const btScalar height)
int getConeUpIndex() const
virtual int calculateSerializeBufferSize() const
virtual const char * getName() const
btScalar getHeight() const
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btVector3 can be used to represent 3D points and vectors.
const btScalar & z() const
Return the z value.
const btScalar & x() const
Return the x value.
const btScalar & y() const
Return the y value.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btConvexInternalShapeData m_convexInternalShapeData
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64