com.bulletphysics.collision.shapes
Class CylinderShapeX
java.lang.Object
com.bulletphysics.collision.shapes.CollisionShape
com.bulletphysics.collision.shapes.ConvexShape
com.bulletphysics.collision.shapes.ConvexInternalShape
com.bulletphysics.collision.shapes.PolyhedralConvexShape
com.bulletphysics.collision.shapes.BoxShape
com.bulletphysics.collision.shapes.CylinderShape
com.bulletphysics.collision.shapes.CylinderShapeX
public class CylinderShapeX
- extends CylinderShape
Cylinder shape around the X axis.
Methods inherited from class com.bulletphysics.collision.shapes.BoxShape |
calculateLocalInertia, getEdge, getHalfExtentsWithMargin, getHalfExtentsWithoutMargin, getNumEdges, getNumPlanes, getNumPreferredPenetrationDirections, getNumVertices, getPlane, getPlaneEquation, getPreferredPenetrationDirection, getVertex, isInside, setLocalScaling, setMargin |
CylinderShapeX
public CylinderShapeX(Vector3f halfExtents)
localGetSupportingVertexWithoutMargin
public Vector3f localGetSupportingVertexWithoutMargin(Vector3f vec,
Vector3f out)
- Overrides:
localGetSupportingVertexWithoutMargin
in class CylinderShape
batchedUnitVectorGetSupportingVertexWithoutMargin
public void batchedUnitVectorGetSupportingVertexWithoutMargin(Vector3f[] vectors,
Vector3f[] supportVerticesOut,
int numVectors)
- Overrides:
batchedUnitVectorGetSupportingVertexWithoutMargin
in class CylinderShape
getRadius
public float getRadius()
- Overrides:
getRadius
in class CylinderShape
getName
public String getName()
- Overrides:
getName
in class CylinderShape