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 const char * getName() const
btScalar getRadius() 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)
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
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 ...
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 ...
btScalar getHeight() const
virtual const char * getName() const
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
btConeShapeX(btScalar radius, btScalar height)
const btScalar & y() const
Return the y value.
btConvexInternalShapeData m_convexInternalShapeData
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
btConeShapeZ implements a Cone shape, around the Z axis
#define BT_DECLARE_ALIGNED_ALLOCATOR()
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
btConeShapeZ(btScalar radius, btScalar height)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual const char * getName() const
const btScalar & z() const
Return the z value.