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 | |
![]() | |
btConvexInternalShape () | |
![]() | |
btVector3 | m_localScaling |
btVector3 | m_implicitShapeDimensions |
btScalar | m_collisionMargin |
btScalar | m_padding |
![]() | |
int | m_shapeType |
void * | m_userPointer |
int | m_userIndex |
int | m_userIndex2 |
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 18 of file btConeShape.cpp.
|
virtual |
Implements btConvexShape.
Definition at line 108 of file btConeShape.cpp.
btConeShape::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
|
inlinevirtual |
Implements btCollisionShape.
Definition at line 54 of file btConeShape.h.
|
inlinevirtual |
Reimplemented from btConvexInternalShape.
Definition at line 152 of file btConeShape.h.
Definition at line 67 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 93 of file btConeShape.h.
|
inline |
Definition at line 88 of file btConeShape.h.
|
inline |
Definition at line 43 of file btConeShape.h.
Implements btCollisionShape.
Reimplemented in btConeShapeX, and btConeShapeZ.
Definition at line 80 of file btConeShape.h.
|
inline |
Definition at line 42 of file btConeShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 117 of file btConeShape.cpp.
Implements btConvexShape.
Definition at line 103 of file btConeShape.cpp.
|
inlinevirtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btConvexInternalShape.
Definition at line 158 of file btConeShape.h.
choose upAxis index
Definition at line 39 of file btConeShape.cpp.
Definition at line 49 of file btConeShape.h.
Reimplemented from btConvexInternalShape.
Definition at line 133 of file btConeShape.cpp.
Definition at line 45 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.