Package | Description |
---|---|
thothbot.parallax.core.shared.math |
Different mathematics
|
Modifier and Type | Method and Description |
---|---|
Box2 |
Box2.clone() |
Box2 |
Box2.copy(Box2 box) |
Box2 |
Box2.expandByPoint(Vector2 point) |
Box2 |
Box2.expandByScalar(double scalar) |
Box2 |
Box2.expandByVector(Vector2 vector) |
Box2 |
Box2.intersect(Box2 box) |
Box2 |
Box2.makeEmpty() |
Box2 |
Box2.set(Vector2 min,
Vector2 max) |
Box2 |
Box2.setFromCenterAndSize(Vector2 center,
Vector2 size) |
Box2 |
Box2.setFromPoints(java.util.List<Vector2> points) |
Box2 |
Box2.translate(Vector2 offset) |
Box2 |
Box2.union(Box2 box) |
Modifier and Type | Method and Description |
---|---|
Box2 |
Box2.copy(Box2 box) |
boolean |
Box2.equals(Box2 box) |
Box2 |
Box2.intersect(Box2 box) |
boolean |
Box2.isContainsBox(Box2 box) |
boolean |
Box2.isIntersectionBox(Box2 box) |
Box2 |
Box2.union(Box2 box) |