Pre-defined matrix types, the first number represents the number of rows and the second the number of columns, if there's just one it's a nxn matrix. All of these matrices are floating-point matrices.
Pre-defined quaternion of type float.
Pre-defined vector types, the number represents the dimension and the last letter the type (none = float, d = double, i = int).
Calculates the cross product of two 3-dimensional vectors.
Calculates the distance between two vectors.
Calculates the product between two vectors.
reflect a vector using a surface normal
Base template for all matrix-types.
Base template for all quaternion-types.
Base template for all vector-types.
MIT
Note: All methods marked with pure are weakly pure since, they all access an instance member. All static methods are strongly pure.
gl3n.linalg
Special thanks to: