Skip to content

Commit

Permalink
Rollback wrong changes in Angle.cc
Browse files Browse the repository at this point in the history
fix gazebosim#301

Signed-off-by: Akshat Pandya <[email protected]>
  • Loading branch information
akshatpandya committed Dec 24, 2021
1 parent 3088849 commit ec25c90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Angle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ec25c90

Please sign in to comment.