mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
Fix degree to radian
Corrects a small error in the comments and in the parameter name, which indicated degrees instead of radian
This commit is contained in:
@@ -240,10 +240,10 @@ class Vector2 : public ::Vector2 {
|
||||
}
|
||||
|
||||
/**
|
||||
* Rotate Vector by float in Degrees
|
||||
* Rotate Vector by float in radians
|
||||
*/
|
||||
inline Vector2 Rotate(float degrees) const {
|
||||
return Vector2Rotate(*this, degrees);
|
||||
inline Vector2 Rotate(float angle) const {
|
||||
return Vector2Rotate(*this, angle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user