public static class OBB2D.Vec2
extends java.lang.Object
| Constructor and Description |
|---|
Vec2() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(float[] v,
int r,
int a,
int b) |
static float |
dot(float[] v,
int a,
int b) |
static float |
length(float[] v,
int pos) |
static float |
lengthSquared(float[] v,
int pos) |
static void |
mul(float[] v,
int pos,
float a) |
static void |
normalize(float[] v,
int pos) |
static void |
normalizeSquared(float[] v,
int pos) |
static void |
set(float[] v,
int pos,
float x,
float y) |
static void |
sub(float[] v,
int r,
int a,
int b) |
public static void set(float[] v,
int pos,
float x,
float y)
public static float dot(float[] v,
int a,
int b)
public static final float lengthSquared(float[] v,
int pos)
public static final void normalizeSquared(float[] v,
int pos)
public static final void normalize(float[] v,
int pos)
public static final float length(float[] v,
int pos)
public static final void add(float[] v,
int r,
int a,
int b)
public static final void sub(float[] v,
int r,
int a,
int b)
public static final void mul(float[] v,
int pos,
float a)