Skip to content

Commit

Permalink
chore: Correct the doc for vector.rotate (#2977)
Browse files Browse the repository at this point in the history
Closes #2975

## Changes:

- Comment for Vector.rotate()
  • Loading branch information
isokissa authored Mar 22, 2024
1 parent e75faac commit b7f2f70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/Math/vector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,7 @@ export class Vector implements Clonable<Vector> {
}

/**
* Rotates the current vector around a point by a certain number of
* degrees in radians
* Rotates the current vector around a point by a certain angle in radians.
*/
public rotate(angle: number, anchor?: Vector): Vector {
if (!anchor) {
Expand Down

0 comments on commit b7f2f70

Please sign in to comment.