com.bulletphysics.collision.narrowphase
Class TriangleRaycastCallback
java.lang.Object
com.bulletphysics.collision.shapes.TriangleCallback
com.bulletphysics.collision.narrowphase.TriangleRaycastCallback
public abstract class TriangleRaycastCallback
- extends TriangleCallback
from
public final Vector3f from
to
public final Vector3f to
hitFraction
public float hitFraction
TriangleRaycastCallback
public TriangleRaycastCallback(Vector3f from,
Vector3f to)
processTriangle
public void processTriangle(Vector3f[] triangle,
int partId,
int triangleIndex)
- Specified by:
processTriangle
in class TriangleCallback
reportHit
public abstract float reportHit(Vector3f hitNormalLocal,
float hitFraction,
int partId,
int triangleIndex)