For the complete documentation index, see llms.txt. This page is also available as Markdown.

renderer.rotate

rotate(angle, x, y, z): void

Rotates the transform around an axis. Only valid inside pushMatrix.

Parameters

angle

number

The angle in degrees.

x

number

The x component of the axis.

y

number

The y component of the axis.

z

number

The z component of the axis.

Returns

void

Last updated