diff --git a/sources/libs/brutal/math/angle.h b/sources/libs/brutal/math/angle.h index 702b6d17e..8df776f59 100644 --- a/sources/libs/brutal/math/angle.h +++ b/sources/libs/brutal/math/angle.h @@ -24,10 +24,10 @@ static inline MRadian m_rad(float value) static inline MRadian m_deg2rad(MDegree deg) { - return (MRadian){(deg.v) * 180 / M_PI}; + return (MRadian){(deg.v) * (M_PI / 180.f)}; } static inline MDegree m_rad2deg(MRadian rad) { - return (MDegree){(rad.v) * M_PI / 180}; + return (MDegree){(rad.v) * (180.f / M_PI)}; }