Package org.jbox2d.collision
Class Distance.SimplexCache
java.lang.Object
org.jbox2d.collision.Distance.SimplexCache
- Enclosing class:
Distance
public static class Distance.SimplexCache
extends java.lang.Object
Used to warm start Distance. Set count to zero on first call.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
metric
public float metriclength or area -
count
public int count -
indexA
public final int[] indexAvertices on shape A -
indexB
public final int[] indexBvertices on shape B
-
-
Constructor Details
-
SimplexCache
public SimplexCache()
-
-
Method Details
-
set
-