16 #ifndef BT_CONE_MINKOWSKI_H 17 #define BT_CONE_MINKOWSKI_H 41 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
52 getAabb(identity,aabbMin,aabbMax);
66 inertia = scaledmass * (
btVector3(y2+z2,x2+z2,x2+y2));
80 void setConeUpIndex(
int upIndex);
84 return m_coneIndices[1];
92 virtual void setLocalScaling(
const btVector3& scaling);
95 virtual int calculateSerializeBufferSize()
const;
98 virtual const char* serialize(
void* dataBuffer,
btSerializer* serializer)
const;
167 return "btConeShapeData";
170 #endif //BT_CONE_MINKOWSKI_H virtual int calculateSerializeBufferSize() const
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
virtual const char * getName() const
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
btConeShape implements a Cone shape, around the X axis
#define SIMD_FORCE_INLINE
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
int getConeUpIndex() const
const btScalar & x() const
Return the x value.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 ...
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y ...
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
const btScalar & y() const
Return the y value.
const btScalar & z() const
Return the z value.
btScalar getRadius() 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)
btConeShapeX(btScalar radius, btScalar height)
btConvexInternalShapeData m_convexInternalShapeData
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
virtual const char * getName() const
btConeShapeZ implements a Cone shape, around the Z axis
#define BT_DECLARE_ALIGNED_ALLOCATOR()
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
virtual const char * getName() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...