mirror of https://github.com/AxioDL/zeus.git
CRelAngle visibility fix
This commit is contained in:
parent
841c876a66
commit
df5e71cde5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue