@@ -109,14 +109,10 @@ p5.prototype._hasMouseInteracted = false;
109109/**
110110 * A `Number` system variable that tracks the mouse's horizontal position.
111111 *
112- * In 2D mode, `mouseX` keeps track of the mouse's position relative to the
112+ * `mouseX` keeps track of the mouse's position relative to the
113113 * top-left corner of the canvas. For example, if the mouse is 50 pixels from
114114 * the left edge of the canvas, then `mouseX` will be 50.
115115 *
116- * In WebGL mode, `mouseX` keeps track of the mouse's position relative to the
117- * center of the canvas. For example, if the mouse is 50 pixels to the right
118- * of the canvas' center, then `mouseX` will be 50.
119- *
120116 * If touch is used instead of the mouse, then `mouseX` will hold the
121117 * x-coordinate of the most recent touch point.
122118 *
@@ -220,14 +216,10 @@ p5.prototype.mouseX = 0;
220216/**
221217 * A `Number` system variable that tracks the mouse's vertical position.
222218 *
223- * In 2D mode, `mouseY` keeps track of the mouse's position relative to the
219+ * `mouseY` keeps track of the mouse's position relative to the
224220 * top-left corner of the canvas. For example, if the mouse is 50 pixels from
225221 * the top edge of the canvas, then `mouseY` will be 50.
226222 *
227- * In WebGL mode, `mouseY` keeps track of the mouse's position relative to the
228- * center of the canvas. For example, if the mouse is 50 pixels below the
229- * canvas' center, then `mouseY` will be 50.
230- *
231223 * If touch is used instead of the mouse, then `mouseY` will hold the
232224 * y-coordinate of the most recent touch point.
233225 *
@@ -332,16 +324,12 @@ p5.prototype.mouseY = 0;
332324 * A `Number` system variable that tracks the mouse's previous horizontal
333325 * position.
334326 *
335- * In 2D mode, `pmouseX` keeps track of the mouse's position relative to the
327+ * `pmouseX` keeps track of the mouse's position relative to the
336328 * top-left corner of the canvas. Its value is
337329 * <a href="#/p5/mouseX">mouseX</a> from the previous frame. For example, if
338330 * the mouse was 50 pixels from the left edge of the canvas during the last
339331 * frame, then `pmouseX` will be 50.
340332 *
341- * In WebGL mode, `pmouseX` keeps track of the mouse's position relative to the
342- * center of the canvas. For example, if the mouse was 50 pixels to the right
343- * of the canvas' center during the last frame, then `pmouseX` will be 50.
344- *
345333 * If touch is used instead of the mouse, then `pmouseX` will hold the
346334 * x-coordinate of the last touch point.
347335 *
@@ -401,16 +389,12 @@ p5.prototype.pmouseX = 0;
401389 * A `Number` system variable that tracks the mouse's previous vertical
402390 * position.
403391 *
404- * In 2D mode, `pmouseY` keeps track of the mouse's position relative to the
392+ * `pmouseY` keeps track of the mouse's position relative to the
405393 * top-left corner of the canvas. Its value is
406394 * <a href="#/p5/mouseY">mouseY</a> from the previous frame. For example, if
407395 * the mouse was 50 pixels from the top edge of the canvas during the last
408396 * frame, then `pmouseY` will be 50.
409397 *
410- * In WebGL mode, `pmouseY` keeps track of the mouse's position relative to the
411- * center of the canvas. For example, if the mouse was 50 pixels below the
412- * canvas' center during the last frame, then `pmouseY` will be 50.
413- *
414398 * If touch is used instead of the mouse, then `pmouseY` will hold the
415399 * y-coordinate of the last touch point.
416400 *
0 commit comments