# Uses of Class
org.lwjgl.util.vector.Vector3f

Packages that use Vector3f
Package
Description
org.lwjgl.util.vector

## Uses of Vector3f in org.lwjgl.util.vector

Methods in org.lwjgl.util.vector that return Vector3f
Modifier and Type
Method
Description
`static Vector3f`
Vector3f.`add(Vector3f left, Vector3f right, Vector3f dest)`
Add a vector to another vector and place the result in a destination vector.
`static Vector3f`
Vector3f.`cross(Vector3f left, Vector3f right, Vector3f dest)`
The cross product of two vectors.
`Vector3f`
Vector3f.`negate(Vector3f dest)`
Negate a vector and place the result in a destination vector.
`Vector3f`
Vector3f.`normalise(Vector3f dest)`
Normalise this vector and place the result in another vector.
`Vector3f`
Vector3f.`set(ReadableVector3f src)`
Load from another Vector3f
`static Vector3f`
Vector3f.`sub(Vector3f left, Vector3f right, Vector3f dest)`
Subtract a vector from another vector and place the result in a destination vector.
`static Vector3f`
Matrix3f.`transform(Matrix3f left, Vector3f right, Vector3f dest)`
Transform a Vector by a matrix and return the result in a destination vector.
`Vector3f`
Vector3f.`translate(float x, float y, float z)`
Translate a vector
Methods in org.lwjgl.util.vector with parameters of type Vector3f
Modifier and Type
Method
Description
`static Vector3f`
Vector3f.`add(Vector3f left, Vector3f right, Vector3f dest)`
Add a vector to another vector and place the result in a destination vector.
`static float`
Vector3f.`angle(Vector3f a, Vector3f b)`
Calculate the angle between two vectors, in radians
`static Vector3f`
Vector3f.`cross(Vector3f left, Vector3f right, Vector3f dest)`
The cross product of two vectors.
`static float`
Vector3f.`dot(Vector3f left, Vector3f right)`
The dot product of two vectors is calculated as v1.x * v2.x + v1.y * v2.y + v1.z * v2.z
`Vector3f`
Vector3f.`negate(Vector3f dest)`
Negate a vector and place the result in a destination vector.
`Vector3f`
Vector3f.`normalise(Vector3f dest)`
Normalise this vector and place the result in another vector.
`Matrix4f`
Matrix4f.`rotate(float angle, Vector3f axis)`
Rotates the matrix around the given axis the specified angle
`Matrix4f`
Matrix4f.`rotate(float angle, Vector3f axis, Matrix4f dest)`
Rotates the matrix around the given axis the specified angle
`static Matrix4f`
Matrix4f.`rotate(float angle, Vector3f axis, Matrix4f src, Matrix4f dest)`
Rotates the source matrix around the given axis the specified angle and put the result in the destination matrix.
`Matrix4f`
Matrix4f.`scale(Vector3f vec)`
Scales this matrix
`static Matrix4f`
Matrix4f.`scale(Vector3f vec, Matrix4f src, Matrix4f dest)`
Scales the source matrix and put the result in the destination matrix
`static Vector3f`
Vector3f.`sub(Vector3f left, Vector3f right, Vector3f dest)`
Subtract a vector from another vector and place the result in a destination vector.
`static Vector3f`
Matrix3f.`transform(Matrix3f left, Vector3f right, Vector3f dest)`
Transform a Vector by a matrix and return the result in a destination vector.
`Matrix4f`
Matrix4f.`translate(Vector3f vec)`
Translate this matrix
`Matrix4f`
Matrix4f.`translate(Vector3f vec, Matrix4f dest)`
Translate this matrix and stash the result in another matrix
`static Matrix4f`
Matrix4f.`translate(Vector3f vec, Matrix4f src, Matrix4f dest)`
Translate the source matrix and stash the result in the destination matrix