static Vector2f |
Vector2f.add(Vector2f left,
Vector2f right,
Vector2f dest) |
Add a vector to another vector and place the result in a destination
vector.
|
static float |
Vector2f.angle(Vector2f a,
Vector2f b) |
Calculate the angle between two vectors, in radians
|
static float |
Vector2f.dot(Vector2f left,
Vector2f right) |
The dot product of two vectors is calculated as
v1.x * v2.x + v1.y * v2.y + v1.z * v2.z
|
Vector2f |
Vector2f.negate(Vector2f dest) |
Negate a vector and place the result in a destination vector.
|
Vector2f |
Vector2f.normalise(Vector2f dest) |
Normalise this vector and place the result in another vector.
|
static Vector2f |
Vector2f.sub(Vector2f left,
Vector2f right,
Vector2f dest) |
Subtract a vector from another vector and place the result in a destination
vector.
|
static Vector2f |
Matrix2f.transform(Matrix2f left,
Vector2f right,
Vector2f dest) |
Transform a Vector by a matrix and return the result in a destination
vector.
|
Matrix4f |
Matrix4f.translate(Vector2f vec) |
Translate this matrix
|
Matrix4f |
Matrix4f.translate(Vector2f vec,
Matrix4f dest) |
Translate this matrix and stash the result in another matrix
|
static Matrix4f |
Matrix4f.translate(Vector2f vec,
Matrix4f src,
Matrix4f dest) |
Translate the source matrix and stash the result in the destination matrix
|