com.bulletphysics.collision.shapes
Class TriangleCallback

java.lang.Object
  extended by com.bulletphysics.collision.shapes.TriangleCallback
Direct Known Subclasses:
TriangleConvexcastCallback, TriangleRaycastCallback

public abstract class TriangleCallback
extends Object

TriangleCallback provides a callback for each overlapping triangle when calling processAllTriangles.

This callback is called by processAllTriangles for all ConcaveShape derived classes, such as BvhTriangleMeshShape, StaticPlaneShape and HeightfieldTerrainShape.


Constructor Summary
TriangleCallback()
           
 
Method Summary
abstract  void processTriangle(Vector3f[] triangle, int partId, int triangleIndex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriangleCallback

public TriangleCallback()
Method Detail

processTriangle

public abstract void processTriangle(Vector3f[] triangle,
                                     int partId,
                                     int triangleIndex)