Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
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";
175 #endif //BT_CONE_MINKOWSKI_H
virtual const char * getName() const
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
btConvexInternalShapeData m_convexInternalShapeData
virtual int calculateSerializeBufferSize() const
virtual const char * getName() const
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
void setHeight(const btScalar height)
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
const btScalar & y() const
Return the y value.
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
btScalar getRadius() const
int getConeUpIndex() const
virtual btVector3 getAnisotropicRollingFrictionDirection() const
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See...
btConeShapeZ implements a Cone shape, around the Z axis
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
#define ATTRIBUTE_ALIGNED16(a)
void setRadius(const btScalar radius)
#define SIMD_FORCE_INLINE
btScalar getHeight() const
const btScalar & x() const
Return the x value.
virtual const char * getName() const
btConeShapeZ(btScalar radius, btScalar height)
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y ...
btConeShapeX(btScalar radius, btScalar height)
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
const btScalar & z() const
Return the z value.
btConeShape implements a Cone shape, around the X axis
virtual const char * serialize(void *dataBuffer, btSerializer *serializer) const
fills the dataBuffer and returns the struct name (and 0 on failure)