Skip to content

Commit a552c9e

Browse files
fix typo
1 parent db133f6 commit a552c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/p5.Vector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1695,7 +1695,7 @@ p5.Vector = class {
16951695
* textAlign(CENTER);
16961696
*
16971697
* // Display the magnitude. The same as floor(v3.mag());
1698-
* let m = floor(p5.Vector.dist(v1, v3));
1698+
* let m = floor(p5.Vector.dist(v1, v2));
16991699
* text(m, 50, 75);
17001700
* }
17011701
*

0 commit comments

Comments
 (0)