applies a rotation to the given matrix.
void rotate(matrix &, float amount, vector axis)void rotate(matrix3 &, float amount, vector axis)
applies a rotation to the given matrix. The angle must be given in radians and the axis must be normalized.
applies a rotation to the given matrix.
void rotate(matrix &, float amount, vector axis)
void rotate(matrix3 &, float amount, vector axis)
applies a rotation to the given matrix. The angle must be given in radians and the axis must be normalized.
Contexts: all