Skip to content

Commit fefe9d3

Browse files
authored
Fix Camera.eyeX comment
1 parent 12fb773 commit fefe9d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webgl/p5.Camera.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,9 +849,9 @@ p5.Camera = class Camera {
849849
this.yScale = 1;
850850
}
851851
/**
852-
* The camera’s y-coordinate.
852+
* The camera’s x-coordinate.
853853
*
854-
* By default, the camera’s y-coordinate is set to 0 in "world" space.
854+
* By default, the camera’s x-coordinate is set to 0 in "world" space.
855855
*
856856
* @property {Number} eyeX
857857
* @readonly

0 commit comments

Comments
 (0)