public class WorldManifold
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Vector2 |
normal |
protected int |
numContactPoints |
protected Vector2[] |
points |
protected float[] |
separations |
Modifier | Constructor and Description |
---|---|
protected |
WorldManifold() |
Modifier and Type | Method and Description |
---|---|
Vector2 |
getNormal()
Returns the normal of this manifold
|
int |
getNumberOfContactPoints() |
Vector2[] |
getPoints()
Returns the contact points of this manifold.
|
float[] |
getSeparations()
Returns the separations of this manifold, a negative value indicates overlap, in meters.
|
protected final Vector2 normal
protected final Vector2[] points
protected final float[] separations
protected int numContactPoints
public Vector2 getNormal()
public Vector2[] getPoints()
public float[] getSeparations()
public int getNumberOfContactPoints()