Reference centerX

centerX

The x-coordinate of the place where the camera looks.

By default, the camera looks at the origin (0, 0, 0) in "world" space, so myCamera.centerX is 0.

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/p5.Camera.js and open a pull request!

Related References