Skip to content

Commit ff5bd5b

Browse files
authored
Merge pull request #268 from Bigfoot71/patch-2
Fix degrees to radians
2 parents 34748eb + af6e1f4 commit ff5bd5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/Vector2.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ class Vector2 : public ::Vector2 {
240240
}
241241

242242
/**
243-
* Rotate Vector by float in Degrees
243+
* Rotate Vector by float in radians
244244
*/
245-
inline Vector2 Rotate(float degrees) const {
246-
return Vector2Rotate(*this, degrees);
245+
inline Vector2 Rotate(float angle) const {
246+
return Vector2Rotate(*this, angle);
247247
}
248248

249249
/**

0 commit comments

Comments
 (0)