For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function rotateZ
-
Parameters
- out: mat4
the receiving matrix
- a: ReadonlyMat4
the matrix to rotate
- rad: number
the angle to rotate the matrix by
Returns mat4
out
- out: mat4
Rotates a matrix by the given angle around the Z axis