Function rotate
Parameters
- out: mat2
the receiving matrix
- a: ReadonlyMat2
the matrix to rotate
- rad: number
the angle to rotate the matrix by
Returns mat2
out
- out: mat2
Was this helpful?
the receiving matrix
the matrix to rotate
the angle to rotate the matrix by
out
Rotates a mat2 by the given angle