Name

rotateX()

Examples
size(100, 100, P3D)
translate(width/2, height/2)
rotateX(PI/3.0)
rect(-26, -26, 52, 52)
size(100, 100, P3D)
translate(width/2, height/2)
rotateX(radians(60))
rect(-26, -26, 52, 52)
Description
Syntax
rotateX(angle)
Parameters
angle
Related popMatrix()
pushMatrix()
rotate()
rotateY()
rotateZ()
scale()
translate()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License