Skip to content

Commit

Permalink
Update API in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleactii committed Mar 29, 2023
1 parent eb788c8 commit efa54b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,5 @@ getPointRotated(pRect, pTheta, pPoint)v

getPointsOfRotatedRect(pRect, pTheta)
- @param {object} pRect - The rectangle object to rotate the point around. **`pRect.anchor.x`** and **`pRecent.anchor.y`** is used to control the "center" of the rectangle.
- @param {number} pTheta - The angle (in radians) to rotate the point by.
- @param {number} pTheta - The angle (in radians) to rotate the point by.
- @returns {object} An object with the rotated rectangle's new corner points and center points.

0 comments on commit efa54b0

Please sign in to comment.