| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bulletphysics.collision.shapes.TriangleCallback
com.bulletphysics.collision.narrowphase.TriangleRaycastCallback
public abstract class TriangleRaycastCallback
| Field Summary | |
|---|---|
|  Vector3f | from | 
|  float | hitFraction | 
|  Vector3f | to | 
| Constructor Summary | |
|---|---|
| TriangleRaycastCallback(Vector3f from,
                        Vector3f to) | |
| Method Summary | |
|---|---|
|  void | processTriangle(Vector3f[] triangle,
                int partId,
                int triangleIndex) | 
| abstract  float | reportHit(Vector3f hitNormalLocal,
          float hitFraction,
          int partId,
          int triangleIndex) | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public final Vector3f from
public final Vector3f to
public float hitFraction
| Constructor Detail | 
|---|
public TriangleRaycastCallback(Vector3f from,
                               Vector3f to)
| Method Detail | 
|---|
public void processTriangle(Vector3f[] triangle,
                            int partId,
                            int triangleIndex)
processTriangle in class TriangleCallback
public abstract float reportHit(Vector3f hitNormalLocal,
                                float hitFraction,
                                int partId,
                                int triangleIndex)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||