Skip to content

Commit

Permalink
Merge pull request #6574 from cabbage63/fix-typo-in-jsdoc
Browse files Browse the repository at this point in the history
Fix typo in JSDoc of the createVector method #6569
  • Loading branch information
nickmcintyre committed Nov 21, 2023
2 parents 8bd8bd0 + 12491a4 commit cab0ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import p5 from '../core/main';
* ball is moving straight up, its velocity vector points straight up. Adding
* the ball's velocity vector to its position vector moves it, as in
* `pos.add(vel)`. Vector math relies on methods inside the
* <a href="#/p5.Vector">p5.Vector</a>` class.
* <a href="#/p5.Vector">p5.Vector</a> class.
*
* @method createVector
* @param {Number} [x] x component of the vector.
Expand Down

0 comments on commit cab0ff1

Please sign in to comment.