rotateX()
Rotates in 3D around the x-axis
Example

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

Description
Rotates a shape around x-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 +z to +y regardless of handedness.
Last updated