Uses of Class
org.lwjgl.util.vector.Vector2f
Packages that use Vector2f
-
Uses of Vector2f in org.lwjgl.util.vector
Methods in org.lwjgl.util.vector that return Vector2fModifier and TypeMethodDescriptionstatic Vector2f
Add a vector to another vector and place the result in a destination vector.Negate a vector and place the result in a destination vector.Normalise this vector and place the result in another vector.Vector2f.set
(ReadableVector2f src) Load from another Vector2fstatic Vector2f
Subtract a vector from another vector and place the result in a destination vector.static Vector2f
Transform a Vector by a matrix and return the result in a destination vector.Vector2f.translate
(float x, float y) Translate a vectorMethods in org.lwjgl.util.vector with parameters of type Vector2fModifier and TypeMethodDescriptionstatic Vector2f
Add a vector to another vector and place the result in a destination vector.static float
Calculate the angle between two vectors, in radiansstatic float
The dot product of two vectors is calculated as v1.x * v2.x + v1.y * v2.y + v1.z * v2.zNegate a vector and place the result in a destination vector.Normalise this vector and place the result in another vector.static Vector2f
Subtract a vector from another vector and place the result in a destination vector.static Vector2f
Transform a Vector by a matrix and return the result in a destination vector.Translate this matrixTranslate this matrix and stash the result in another matrixstatic Matrix4f
Translate the source matrix and stash the result in the destination matrix