Vector magnitude.
Normalizes the vectors. Changes the current struct!
Returns the normalized vector. Doesn't change the current struct!
Returns the mul of this * scalar.
Returns the sum of this + scalar.
Returns the sub of this - scalar.
Returns the div of this / scalar.
Returns the sum of 2 vectors.
Returns the sub of 2 vectors.
Returns the mul of 2 vectors.
Returns the div of 2 vectors.
Cast to a vector of a different type.
Swizzling.
Get the N-th component.
Get the whole internal array.
Set the nth component
Returns the mul of this * scalar.
Returns the sum of this + scalar.
Returns the sub of this - scalar.
Returns the div of this / scalar.
Returns the sum of 2 vectors.
Returns the sub of 2 vectors.
Returns the mul of 2 vectors.
Returns the div of 2 vectors.
Returns the negated vector.
Internal data as a pointer, use for sending data to shaders.
Numeric Vector type with an optional amount of components.