public class OBB2D
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OBB2D.Vec2
Vector math for one array
|
| Modifier and Type | Field and Description |
|---|---|
float[] |
vec |
| Constructor and Description |
|---|
OBB2D() |
OBB2D(float cx,
float cy,
float width,
float height) |
OBB2D(float cx,
float cy,
float width,
float height,
double acos,
double asin) |
OBB2D(float cx,
float cy,
float dx,
float dy,
float width,
float height) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
overlaps(OBB2D other) |
void |
set(float cx,
float cy,
float dx,
float dy,
float width,
float height) |
void |
setNormalized(float cx,
float cy,
float vx,
float vy,
float width,
float height,
float dy) |
public OBB2D()
public OBB2D(float cx,
float cy,
float width,
float height,
double acos,
double asin)
public OBB2D(float cx,
float cy,
float dx,
float dy,
float width,
float height)
public OBB2D(float cx,
float cy,
float width,
float height)
public void setNormalized(float cx,
float cy,
float vx,
float vy,
float width,
float height,
float dy)
public void set(float cx,
float cy,
float dx,
float dy,
float width,
float height)
public boolean overlaps(OBB2D other)