From df5e71cde5c1274296a10575143a477f11051bc5 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 28 Jan 2019 22:27:23 -1000 Subject: [PATCH] CRelAngle visibility fix --- include/zeus/CRelAngle.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/zeus/CRelAngle.hpp b/include/zeus/CRelAngle.hpp index d0a4921..dbc76ca 100644 --- a/include/zeus/CRelAngle.hpp +++ b/include/zeus/CRelAngle.hpp @@ -8,9 +8,10 @@ namespace zeus { /** * @brief The CRelAngle class represents relative angle in radians */ -struct CRelAngle { +class CRelAngle { float angle = 0.f; +public: static float MakeRelativeAngle(float angle) { float ret = angle - std::trunc(angle / (2.f * M_PIF)) * (2.f * M_PIF); if (ret < 0.f)