Name

camera()

Examples
size(100, 100, P3D)
noFill()
background(204)
camera(70.0, 35.0, 120.0, 50.0, 50.0, 0.0, 
             0.0, 1.0, 0.0)
translate(50, 50, 0)
rotateX(-PI/6)
rotateY(PI/3)
box(45)
Description
Syntax
camera()
camera(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ)
Parameters
eyeX
eyeY
eyeZ
centerX
centerY
centerZ
upX
upY
upZ
Related endCamera()
frustum()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License