|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vector2f | |
---|---|
org.lwjgl.util.vector |
Uses of Vector2f in org.lwjgl.util.vector |
---|
Methods in org.lwjgl.util.vector that return Vector2f | |
---|---|
static Vector2f |
Vector2f.add(Vector2f left,
Vector2f right,
Vector2f dest)
Add a vector to another vector and place the result in a destination vector. |
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. |
Vector2f |
Vector2f.set(ReadableVector2f src)
Load from another Vector2f |
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. |
Vector2f |
Vector2f.translate(float x,
float y)
Translate a vector |
Methods in org.lwjgl.util.vector with parameters of type Vector2f | |
---|---|
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 |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |