From e9cb4b2e7b50b98302431d24d1f80598ba5e756b Mon Sep 17 00:00:00 2001 From: Akshat Pandya Date: Thu, 23 Dec 2021 20:46:33 -0800 Subject: [PATCH] Rollback wrong changes in Angle.cc fix #301 Signed-off-by: Akshat Pandya --- src/Angle.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Angle.cc b/src/Angle.cc index 5da78fdb6..52735807d 100644 --- a/src/Angle.cc +++ b/src/Angle.cc @@ -25,31 +25,31 @@ const Angle Angle::HalfPi = Angle(IGN_PI_2); const Angle Angle::TwoPi = Angle(IGN_PI * 2.0); ////////////////////////////////////////////////// -Angle::Angle(const double _radian) +Angle::Angle(double _radian) { this->value = _radian; } ////////////////////////////////////////////////// -void Angle::Radian(const double _radian) +void Angle::Radian(double _radian) { this->value = _radian; } ////////////////////////////////////////////////// -void Angle::SetRadian(const double _radian) +void Angle::SetRadian(double _radian) { this->value = _radian; } ////////////////////////////////////////////////// -void Angle::Degree(const double _degree) +void Angle::Degree(double _degree) { this->value = _degree * IGN_PI / 180.0; } ////////////////////////////////////////////////// -void Angle::SetDegree(const double _degree) +void Angle::SetDegree(double _degree) { this->value = _degree * IGN_PI / 180.0; }