com.bulletphysics.extras.gimpact
Class TriangleShapeEx

java.lang.Object
  extended by com.bulletphysics.collision.shapes.CollisionShape
      extended by com.bulletphysics.collision.shapes.ConvexShape
          extended by com.bulletphysics.collision.shapes.ConvexInternalShape
              extended by com.bulletphysics.collision.shapes.PolyhedralConvexShape
                  extended by com.bulletphysics.collision.shapes.TriangleShape
                      extended by com.bulletphysics.extras.gimpact.TriangleShapeEx

public class TriangleShapeEx
extends TriangleShape


Field Summary
 
Fields inherited from class com.bulletphysics.collision.shapes.TriangleShape
vertices1
 
Fields inherited from class com.bulletphysics.collision.shapes.ConvexShape
MAX_PREFERRED_PENETRATION_DIRECTIONS
 
Constructor Summary
TriangleShapeEx()
           
TriangleShapeEx(Vector3f p0, Vector3f p1, Vector3f p2)
           
 
Method Summary
 void applyTransform(Transform t)
           
 void buildTriPlane(Vector4f plane)
           
 void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax)
          getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version.
 boolean overlap_test_conservative(TriangleShapeEx other)
           
 
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
 
Methods inherited from class com.bulletphysics.collision.shapes.PolyhedralConvexShape
recalcLocalAabb, setLocalScaling
 
Methods inherited from class com.bulletphysics.collision.shapes.ConvexInternalShape
getAabbSlow, getLocalScaling, getMargin, localGetSupportingVertex, 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

TriangleShapeEx

public TriangleShapeEx()

TriangleShapeEx

public TriangleShapeEx(Vector3f p0,
                       Vector3f p1,
                       Vector3f p2)
Method Detail

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)