Skip to content

Commit a523935

Browse files
committed
Fix default z value in p5.Camera::camera() docs
1 parent 23ac24b commit a523935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webgl/p5.Camera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2721,7 +2721,7 @@ p5.Camera = class Camera {
27212721
* @for p5.Camera
27222722
* @param {Number} [x] x-coordinate of the camera. Defaults to 0.
27232723
* @param {Number} [y] y-coordinate of the camera. Defaults to 0.
2724-
* @param {Number} [z] z-coordinate of the camera. Defaults to 0.
2724+
* @param {Number} [z] z-coordinate of the camera. Defaults to 800.
27252725
* @param {Number} [centerX] x-coordinate of the point the camera faces. Defaults to 0.
27262726
* @param {Number} [centerY] y-coordinate of the point the camera faces. Defaults to 0.
27272727
* @param {Number} [centerZ] z-coordinate of the point the camera faces. Defaults to 0.

0 commit comments

Comments
 (0)