Skip to content

Commit 1d8ebf3

Browse files
authored
Merge pull request #7265 from jaredberghold/vector-sub-documentation-edit
Fixed minor error in documentation for p5.Vector.sub()
2 parents 539fb30 + 83b2f1f commit 1d8ebf3

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
@@ -701,7 +701,7 @@ p5.Vector = class {
701701
* let p1 = createVector(75, 75);
702702
* let p2 = createVector(50, 50);
703703
*
704-
* // Subtract with modifying the original vectors.
704+
* // Subtract without modifying the original vectors.
705705
* let p3 = p5.Vector.sub(p1, p2);
706706
*
707707
* // Draw the points.

0 commit comments

Comments
 (0)