com.bulletphysics.collision.shapes
Class CylinderShapeZ
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.CylinderShapeZ
public class CylinderShapeZ
- extends CylinderShape
Cylinder shape around the Z 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 |
CylinderShapeZ
public CylinderShapeZ(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