Skip to content

Commit

Permalink
Merge pull request #5655 from koolaidkrusade/main
Browse files Browse the repository at this point in the history
Fixed typo on atan2() page
  • Loading branch information
montoyamoraga authored Apr 5, 2022
2 parents 5cab640 + 148ac09 commit c704c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/trigonometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ p5.prototype.atan = function(ratio) {
* to the position of the cursor.
*
* Note: The y-coordinate of the point is the first parameter, and the
* x-coordinate is the second parameter, due the the structure of calculating
* x-coordinate is the second parameter, due to the structure of calculating
* the tangent.
*
* @method atan2
Expand Down

0 comments on commit c704c98

Please sign in to comment.