Constructs Vector from components. If no components present vector will be filled with 0
Alias to allow easy data access
Alias to vector type. Can be used to contruct vectors of same type
Alias to data type (e.g. float, int)
Returns true if vector is normalised
Normalises vector
Abs vector values
Ceils vector values
Clamps vector values
Returns copy of vector
Returns squared distance from vector to b
Calculates distance to vector b
Performs dot product
Floors vector values
Is vector approximately close to v
Returns true if vector is normalised
Returns vector length
Returns squared vector length
Linear interpolates vector
Limits vector length
Clamps vector values to max
Clamps vector values to min
Normalises vector
opBinary x [+, -, *, /, %] y
opCmp x [< > <= >=] y
opEquals x == y
opOpAssign x [+, -, *, /, %]= y
opUnary [-, +, --, ++] x
Returns pointer to data
Rounds vector values
Signs current vector
Snaps vector values
Returns hash
Returns string representation of vector: [1.00, 1.00,... , 1.00]
Mixes in swizzle
Vector structure with data accesible with [N] or swizzling