public class Manifold
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Manifold.ManifoldType |
Modifier and Type | Field and Description |
---|---|
Vec2 |
localNormal
not use for Type::e_points
|
Vec2 |
localPoint
usage depends on manifold type
|
int |
pointCount
The number of manifold points.
|
ManifoldPoint[] |
points
The points of contact.
|
Manifold.ManifoldType |
type |
Constructor and Description |
---|
Manifold()
creates a manifold with 0 points, with it's points array full of instantiated ManifoldPoints.
|
Manifold(Manifold other)
Creates this manifold as a copy of the other
|
Modifier and Type | Method and Description |
---|---|
void |
set(Manifold cp)
copies this manifold from the given one
|
public final ManifoldPoint[] points
public final Vec2 localNormal
public final Vec2 localPoint
public Manifold.ManifoldType type
public int pointCount
public Manifold()
public Manifold(Manifold other)
other
- public void set(Manifold cp)
cp
- manifold to copy fromCopyright © 2017. All Rights Reserved.