|
Bullet Collision Detection & Physics Library
|
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...
#include <btConeShape.h>


Private Member Functions | |
| btVector3 | coneLocalSupport (const btVector3 &v) const |
Private Attributes | |
| btScalar | m_sinAngle |
| btScalar | m_radius |
| btScalar | m_height |
| int | m_coneIndices [3] |
Additional Inherited Members | |
Protected Member Functions inherited from btConvexInternalShape | |
| btConvexInternalShape () | |
Protected Attributes inherited from btConvexInternalShape | |
| btVector3 | m_localScaling |
| btVector3 | m_implicitShapeDimensions |
| btScalar | m_collisionMargin |
| btScalar | m_padding |
Protected Attributes inherited from btCollisionShape | |
| int | m_shapeType |
| void * | m_userPointer |
| int | m_userIndex |
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 23 of file btConeShape.h.
Definition at line 20 of file btConeShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 111 of file btConeShape.cpp.
| btConeShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
|
inlinevirtual |
Implements btCollisionShape.
Definition at line 56 of file btConeShape.h.
|
inlinevirtual |
Reimplemented from btConvexInternalShape.
Definition at line 162 of file btConeShape.h.
Definition at line 71 of file btConeShape.cpp.
the getAnisotropicRollingFrictionDirection can be used in combination with setAnisotropicFriction See Bullet/Demos/RollingFrictionDemo for an example
Reimplemented from btCollisionShape.
Reimplemented in btConeShapeX, and btConeShapeZ.
Definition at line 96 of file btConeShape.h.
|
inline |
Definition at line 91 of file btConeShape.h.
|
inline |
Definition at line 44 of file btConeShape.h.
Implements btCollisionShape.
Reimplemented in btConeShapeX, and btConeShapeZ.
Definition at line 83 of file btConeShape.h.
|
inline |
Definition at line 43 of file btConeShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 121 of file btConeShape.cpp.
Implements btConvexShape.
Definition at line 106 of file btConeShape.cpp.
|
inlinevirtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btConvexInternalShape.
Definition at line 168 of file btConeShape.h.
choose upAxis index
Definition at line 43 of file btConeShape.cpp.
Definition at line 50 of file btConeShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 138 of file btConeShape.cpp.
Definition at line 46 of file btConeShape.h.
|
private |
Definition at line 30 of file btConeShape.h.
|
private |
Definition at line 29 of file btConeShape.h.
|
private |
Definition at line 28 of file btConeShape.h.
|
private |
Definition at line 27 of file btConeShape.h.