We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95431c9 commit 5fc46d5Copy full SHA for 5fc46d5
src/math/p5.Vector.js
@@ -342,7 +342,10 @@ p5.Vector = class {
342
return this;
343
}
344
345
-
+ /**
346
+ * @private
347
+ * @chainable
348
+ */
349
calculateRemainder2D (xComponent, yComponent) {
350
if (xComponent !== 0) {
351
this.x = this.x % xComponent;
@@ -353,7 +356,10 @@ p5.Vector = class {
353
356
354
357
355
358
- /// HELPERS FOR REMAINDER METHOD
359
360
361
362
363
calculateRemainder3D (xComponent, yComponent, zComponent) {
364
365
0 commit comments