rotate(angle, x, y, z): void
angle
x
y
z
void
Rotates the transform around an axis. Only valid inside pushMatrix.
number
The angle in degrees.
The x component of the axis.
The y component of the axis.
The z component of the axis.
Last updated 1 month ago