CRelAngle visibility fix

This commit is contained in:
Jack Andersen 2019-01-28 22:27:23 -10:00
parent 841c876a66
commit df5e71cde5
1 changed files with 2 additions and 1 deletions

View File

@ -8,9 +8,10 @@ namespace zeus {
/** /**
* @brief The CRelAngle class represents relative angle in radians * @brief The CRelAngle class represents relative angle in radians
*/ */
struct CRelAngle { class CRelAngle {
float angle = 0.f; float angle = 0.f;
public:
static float MakeRelativeAngle(float angle) { static float MakeRelativeAngle(float angle) {
float ret = angle - std::trunc(angle / (2.f * M_PIF)) * (2.f * M_PIF); float ret = angle - std::trunc(angle / (2.f * M_PIF)) * (2.f * M_PIF);
if (ret < 0.f) if (ret < 0.f)