From a523935c0e612c2fb19788a1e37c9e7a4c70e87d Mon Sep 17 00:00:00 2001 From: Dave Pagurek Date: Wed, 1 May 2024 09:22:30 +0200 Subject: [PATCH] Fix default z value in p5.Camera::camera() docs --- src/webgl/p5.Camera.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgl/p5.Camera.js b/src/webgl/p5.Camera.js index ce91926fa3..104d2e2aaf 100644 --- a/src/webgl/p5.Camera.js +++ b/src/webgl/p5.Camera.js @@ -2721,7 +2721,7 @@ p5.Camera = class Camera { * @for p5.Camera * @param {Number} [x] x-coordinate of the camera. Defaults to 0. * @param {Number} [y] y-coordinate of the camera. Defaults to 0. - * @param {Number} [z] z-coordinate of the camera. Defaults to 0. + * @param {Number} [z] z-coordinate of the camera. Defaults to 800. * @param {Number} [centerX] x-coordinate of the point the camera faces. Defaults to 0. * @param {Number} [centerY] y-coordinate of the point the camera faces. Defaults to 0. * @param {Number} [centerZ] z-coordinate of the point the camera faces. Defaults to 0.