- eulerRotate
float[4][4] eulerRotate(float[4][4] mat, float roll, float pitch, float yaw)
Euler method rotation matrix.
- eulerRotateMat
float[4][4] eulerRotateMat(float roll, float pitch, float yaw)
Euler method rotation matrix.
- mulmat
float[4][4] mulmat(float[4][4] a, float[4][4] b)
- ortho
float[4][4] ortho(float left, float right, float bottom, float top, float zNear, float zFar)
- rotateMat
float[4][4] rotateMat(float angle, float x, float y, float z)
Gives the rotation matrix.
- rotateMat
float[4][4] rotateMat(float[4][4] mat, float angle, float x, float y, float z)
Gives the rotation matrix.
- scale
float[4][4] scale(float[4][4] mat, float x, float y, float z)
Increases the matrix by a specified factor along the specified axes.
- scaleMat
float[4][4] scaleMat(float x, float y, float z)
Increases the matrix by a specified factor along the specified axes.
- transform
Vector!float transform(Vector!float v, mat4 m)
Multiple matrix and vector.
- translate
float[4][4] translate(float[4][4] mat, float x, float y, float z)
Moves the matrix provided in the arguments along the given axes with the
given values.
- translation
float[4][4] translation(float x, float y, float z)
Moves the matrix along the specified axes by the specified amount.
Matrix management module.