Blender
V3.3
|
#include "btConvexInternalShape.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
Go to the source code of this file.
Classes | |
class | btConeShapeX |
btConeShape implements a Cone shape, around the X axis More... | |
class | btConeShapeZ |
btConeShapeZ implements a Cone shape, around the Z axis More... | |
struct | btConeShapeData |
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 More... | |
Functions | |
btVector3 | coneLocalSupport (const btVector3 &v) const |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btConeShape (btScalar radius, btScalar height) | |
virtual btVector3 | localGetSupportingVertex (const btVector3 &vec) const |
virtual btVector3 | localGetSupportingVertexWithoutMargin (const btVector3 &vec) const |
btConvexShape Interface More... | |
virtual void | batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const |
btScalar | getRadius () const |
btScalar | getHeight () const |
void | setRadius (const btScalar radius) |
void | setHeight (const btScalar height) |
virtual void | calculateLocalInertia (btScalar mass, btVector3 &inertia) const |
CollisionShape Interface. More... | |
virtual const char * | getName () const |
void | setConeUpIndex (int upIndex) |
choose upAxis index More... | |
int | getConeUpIndex () const |
virtual btVector3 | getAnisotropicRollingFrictionDirection () const |
virtual void | setLocalScaling (const btVector3 &scaling) |
virtual int | calculateSerializeBufferSize () const |
virtual const char * | serialize (void *dataBuffer, btSerializer *serializer) const |
fills the dataBuffer and returns the struct name (and 0 on failure) More... | |
Variables | |
btConeShape | __pad0__ |
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y axis. The btConeShapeX is aligned around the X axis and btConeShapeZ around the Z axis. More... | |
btScalar | m_radius |
btScalar | m_height |
int | m_coneIndices [3] |
|
virtual |
Definition at line 71 of file btBox2dShape.h.
BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
Definition at line 18 of file btConeShape.cpp.
References btSqrt(), btVector3, CONE_SHAPE_PROXYTYPE, m_height, m_radius, and setConeUpIndex().
Referenced by btCollisionWorldImporter::createConeShapeY(), btCollisionWorld::debugDrawObject(), and getMarginNonVirtual().
CollisionShape Interface.
Definition at line 54 of file btConeShape.h.
|
virtual |
Definition at line 67 of file btConeShape.cpp.
References btSqrt(), btVector3, m_coneIndices, m_height, m_radius, SIMD_EPSILON, and v.
|
virtual |
Definition at line 91 of file btConeShape.h.
References btVector3.
int getConeUpIndex | ( | ) | const |
Definition at line 86 of file btConeShape.h.
References m_coneIndices.
btScalar getHeight | ( | ) | const |
Definition at line 43 of file btConeShape.h.
References m_height.
|
virtual |
Definition at line 78 of file btConeShape.h.
btScalar getRadius | ( | ) | const |
Definition at line 42 of file btConeShape.h.
References m_radius.
Definition at line 51 of file btBox2dShape.h.
btConvexShape Interface
Definition at line 62 of file btBox2dShape.h.
|
virtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
void btConeShape::setConeUpIndex | ( | int | upIndex | ) |
choose upAxis index
Definition at line 39 of file btConeShape.cpp.
References btAssert, m_coneIndices, m_height, m_implicitShapeDimensions, and m_radius.
Referenced by btConeShape(), btConeShapeX::btConeShapeX(), and btConeShapeZ::btConeShapeZ().
Definition at line 49 of file btConeShape.h.
Definition at line 120 of file btBox2dShape.h.
Definition at line 45 of file btConeShape.h.
References m_radius.
btConeShape __pad0__ |
The btConeShape implements a cone shape primitive, centered around the origin and aligned with the Y axis. The btConeShapeX is aligned around the X axis and btConeShapeZ around the Z axis.
Definition at line 24 of file btConeShape.h.
int m_coneIndices[3] |
Definition at line 30 of file btConeShape.h.
Referenced by coneLocalSupport(), getConeUpIndex(), and setConeUpIndex().
btScalar m_height |
Definition at line 29 of file btConeShape.h.
Referenced by btConeShape(), coneLocalSupport(), getHeight(), setConeUpIndex(), and setHeight().
btScalar m_radius |
Definition at line 28 of file btConeShape.h.
Referenced by btConeShape(), coneLocalSupport(), getRadius(), initialize2(), setConeUpIndex(), and setRadius().