Skip to content

Commit d18386e

Browse files
authored
Merge pull request #7001 from davepagurek/fix/default-z
Fix default z value in p5.Camera::camera() docs
2 parents 87f125c + a523935 commit d18386e

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)