Logo Search packages:      
Sourcecode: blender version File versions  Download package

btConeShape Class Reference

#include <btConeShape.h>

Inheritance diagram for btConeShape:

btConeShapeX btConeShapeZ

List of all members.


Detailed Description

btConeShape implements a Cone shape, around the Y axis

Definition at line 23 of file btConeShape.h.


Public Member Functions

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 btConeShape (btScalar radius, btScalar height)
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia)
int getConeUpIndex () const
btScalar getHeight () const
virtual char * getName () const
btScalar getRadius () const
virtual int getShapeType () const
virtual btVector3 localGetSupportingVertex (const btVector3 &vec) const
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
void setConeUpIndex (int upIndex)
 choose upAxis index

Private Member Functions

btVector3 coneLocalSupport (const btVector3 &v) const

Private Attributes

int m_coneIndices [3]
btScalar m_height
btScalar m_radius
btScalar m_sinAngle

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index