@@ -109,14 +109,10 @@ p5.prototype._hasMouseInteracted = false;
109
109
/**
110
110
* A `Number` system variable that tracks the mouse's horizontal position.
111
111
*
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
113
113
* top-left corner of the canvas. For example, if the mouse is 50 pixels from
114
114
* the left edge of the canvas, then `mouseX` will be 50.
115
115
*
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
- *
120
116
* If touch is used instead of the mouse, then `mouseX` will hold the
121
117
* x-coordinate of the most recent touch point.
122
118
*
@@ -220,14 +216,10 @@ p5.prototype.mouseX = 0;
220
216
/**
221
217
* A `Number` system variable that tracks the mouse's vertical position.
222
218
*
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
224
220
* top-left corner of the canvas. For example, if the mouse is 50 pixels from
225
221
* the top edge of the canvas, then `mouseY` will be 50.
226
222
*
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
- *
231
223
* If touch is used instead of the mouse, then `mouseY` will hold the
232
224
* y-coordinate of the most recent touch point.
233
225
*
@@ -332,16 +324,12 @@ p5.prototype.mouseY = 0;
332
324
* A `Number` system variable that tracks the mouse's previous horizontal
333
325
* position.
334
326
*
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
336
328
* top-left corner of the canvas. Its value is
337
329
* <a href="#/p5/mouseX">mouseX</a> from the previous frame. For example, if
338
330
* the mouse was 50 pixels from the left edge of the canvas during the last
339
331
* frame, then `pmouseX` will be 50.
340
332
*
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
- *
345
333
* If touch is used instead of the mouse, then `pmouseX` will hold the
346
334
* x-coordinate of the last touch point.
347
335
*
@@ -401,16 +389,12 @@ p5.prototype.pmouseX = 0;
401
389
* A `Number` system variable that tracks the mouse's previous vertical
402
390
* position.
403
391
*
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
405
393
* top-left corner of the canvas. Its value is
406
394
* <a href="#/p5/mouseY">mouseY</a> from the previous frame. For example, if
407
395
* the mouse was 50 pixels from the top edge of the canvas during the last
408
396
* frame, then `pmouseY` will be 50.
409
397
*
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
- *
414
398
* If touch is used instead of the mouse, then `pmouseY` will hold the
415
399
* y-coordinate of the last touch point.
416
400
*
0 commit comments