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 Vector2fAdd 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 Vector2fSubtract a vector from another vector and place the result in a destination vector.static Vector2fTransform 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 Vector2fAdd a vector to another vector and place the result in a destination vector.static floatCalculate the angle between two vectors, in radiansstatic floatThe 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 Vector2fSubtract a vector from another vector and place the result in a destination vector.static Vector2fTransform 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 Matrix4fTranslate the source matrix and stash the result in the destination matrix