Name

rotateY()

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