com.bulletphysics.extras.gimpact
Class TriangleShapeEx
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.TriangleShape
com.bulletphysics.extras.gimpact.TriangleShapeEx
public class TriangleShapeEx
- extends TriangleShape
Methods inherited from class com.bulletphysics.collision.shapes.TriangleShape |
batchedUnitVectorGetSupportingVertexWithoutMargin, calcNormal, calculateLocalInertia, getEdge, getName, getNumEdges, getNumPlanes, getNumPreferredPenetrationDirections, getNumVertices, getPlane, getPlaneEquation, getPreferredPenetrationDirection, getShapeType, getVertex, getVertexPtr, init, isInside, localGetSupportingVertexWithoutMargin |
TriangleShapeEx
public TriangleShapeEx()
TriangleShapeEx
public TriangleShapeEx(Vector3f p0,
Vector3f p1,
Vector3f p2)
getAabb
public void getAabb(Transform t,
Vector3f aabbMin,
Vector3f aabbMax)
- Description copied from class:
ConvexInternalShape
- getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
- Overrides:
getAabb
in class TriangleShape
applyTransform
public void applyTransform(Transform t)
buildTriPlane
public void buildTriPlane(Vector4f plane)
overlap_test_conservative
public boolean overlap_test_conservative(TriangleShapeEx other)