rotateZ()
Rotates in 3D around the z-axis
Example

Syntax
rotateZ(angle)
Input
Description
angle
angle of rotation
Full Example

Description
Rotates a shape around z-axis by the amount specified in angle parameter. The angles can be entered in either RADIANS
or DEGREES
, depending on the specified angleMode().
Positive angles rotates the space from +x to +y regardless of handedness. This is the actually the application of the function rotate() in 3D.
Last updated