16#ifndef BT_CYLINDER_MINKOWSKI_H
17#define BT_CYLINDER_MINKOWSKI_H
37 btVector3 margin(getMargin(), getMargin(), getMargin());
44 return m_implicitShapeDimensions;
103 return getHalfExtentsWithMargin().getX();
123 virtual int calculateSerializeBufferSize()
const;
203 return "btCylinderShapeData";
const T & btMax(const T &a, const T &b)
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
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
virtual void setMargin(btScalar margin)
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
virtual void setLocalScaling(const btVector3 &scaling)
virtual btScalar getRadius() const
virtual const char * getName() const
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual btScalar getRadius() const
virtual const char * getName() const
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
The btCylinderShape class implements a cylinder shape primitive, centered around the origin....
BT_DECLARE_ALIGNED_ALLOCATOR()
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 btScalar getRadius() const
const btVector3 & getHalfExtentsWithoutMargin() const
virtual void setMargin(btScalar collisionMargin)
virtual int calculateSerializeBufferSize() const
virtual const char * getName() const
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
btVector3 getHalfExtentsWithMargin() const
virtual void setLocalScaling(const btVector3 &scaling)
btVector3 can be used to represent 3D points and vectors.
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
const btScalar & getY() const
Return the y value.
const btScalar & getX() const
Return the x value.
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
btConvexInternalShapeData m_convexInternalShapeData