|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bulletphysics.collision.shapes.CollisionShape
com.bulletphysics.collision.shapes.ConvexShape
com.bulletphysics.collision.shapes.ConvexInternalShape
com.bulletphysics.collision.shapes.ConeShape
public class ConeShape
ConeShape implements a cone shape, around the Y axis.
| Field Summary |
|---|
| Fields inherited from class com.bulletphysics.collision.shapes.ConvexShape |
|---|
MAX_PREFERRED_PENETRATION_DIRECTIONS |
| Constructor Summary | |
|---|---|
ConeShape(float radius,
float height)
|
|
| Method Summary | |
|---|---|
void |
batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
Vector3f[] supportVerticesOut,
int numVectors)
|
void |
calculateLocalInertia(float mass,
Vector3f inertia)
|
int |
getConeUpIndex()
|
float |
getHeight()
|
String |
getName()
|
float |
getRadius()
|
BroadphaseNativeType |
getShapeType()
|
Vector3f |
localGetSupportingVertex(Vector3f vec,
Vector3f out)
|
Vector3f |
localGetSupportingVertexWithoutMargin(Vector3f vec,
Vector3f out)
|
| Methods inherited from class com.bulletphysics.collision.shapes.ConvexInternalShape |
|---|
getAabb, getAabbSlow, getLocalScaling, getMargin, getNumPreferredPenetrationDirections, getPreferredPenetrationDirection, setLocalScaling, setMargin |
| Methods inherited from class com.bulletphysics.collision.shapes.CollisionShape |
|---|
calculateTemporalAabb, getAngularMotionDisc, getBoundingSphere, getUserPointer, isCompound, isConcave, isConvex, isInfinite, isPolyhedral, setUserPointer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConeShape(float radius,
float height)
| Method Detail |
|---|
public float getRadius()
public float getHeight()
public Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec,
Vector3f out)
localGetSupportingVertexWithoutMargin in class ConvexShape
public void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
Vector3f[] supportVerticesOut,
int numVectors)
batchedUnitVectorGetSupportingVertexWithoutMargin in class ConvexShape
public Vector3f localGetSupportingVertex(Vector3f vec,
Vector3f out)
localGetSupportingVertex in class ConvexInternalShapepublic BroadphaseNativeType getShapeType()
getShapeType in class CollisionShape
public void calculateLocalInertia(float mass,
Vector3f inertia)
calculateLocalInertia in class CollisionShapepublic String getName()
getName in class CollisionShapepublic int getConeUpIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||