Skip to content

Commit 5fc46d5

Browse files
1 parent 95431c9 commit 5fc46d5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/math/p5.Vector.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,10 @@ p5.Vector = class {
342342
return this;
343343
}
344344

345-
345+
/**
346+
* @private
347+
* @chainable
348+
*/
346349
calculateRemainder2D (xComponent, yComponent) {
347350
if (xComponent !== 0) {
348351
this.x = this.x % xComponent;
@@ -353,7 +356,10 @@ p5.Vector = class {
353356
return this;
354357
}
355358

356-
/// HELPERS FOR REMAINDER METHOD
359+
/**
360+
* @private
361+
* @chainable
362+
*/
357363
calculateRemainder3D (xComponent, yComponent, zComponent) {
358364
if (xComponent !== 0) {
359365
this.x = this.x % xComponent;

0 commit comments

Comments
 (0)