Skip to content

Commit

Permalink
Merge pull request #7322 from asukaminato0721/fix-typo-in-vec-mult
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
davepagurek authored Oct 20, 2024
2 parents 78c4442 + d736500 commit 3211fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/p5.Vector.js
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ p5.Vector = class {
*
* If only one value is provided, as in `v.mult(2)`, then all the components
* will be multiplied by 2. If a value isn't provided for a component, it
* won't change. For example, `v.mult(4, 5)` multiplies `v.x` by, `v.y` by 5,
* won't change. For example, `v.mult(4, 5)` multiplies `v.x` by 4, `v.y` by 5,
* and `v.z` by 1. Calling `mult()` with no arguments, as in `v.mult()`, has
* no effect.
*
Expand Down

0 comments on commit 3211fd4

Please sign in to comment.