From af6e1f4e85800a15d30691501fae0fb7e129167e Mon Sep 17 00:00:00 2001 From: Le Juez Victor <90587919+Bigfoot71@users.noreply.github.com> Date: Thu, 14 Dec 2023 02:26:53 +0100 Subject: [PATCH] Fix degree to radian Corrects a small error in the comments and in the parameter name, which indicated degrees instead of radian --- include/Vector2.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Vector2.hpp b/include/Vector2.hpp index 182014b9..0aa9d759 100644 --- a/include/Vector2.hpp +++ b/include/Vector2.hpp @@ -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); } /**