diff options
| author | kipcode66 <kipcode66@gmail.com> | 2026-01-12 17:48:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 00:48:25 +0200 |
| commit | dd03bf861fdc92109c57d58cc7436066a8a02430 (patch) | |
| tree | cd4044941bb8f661d3b5c018ed94cb18ff650cc6 /src/SSystem/SComponent/c_math.cpp | |
| parent | 53aaed17c0a635c8f5542c2b2aeaa65f63c734c4 (diff) | |
standard compiler compatibility changes (#3040)
* move math to cmath
* replace stdarg to cstdarg
* change stdint to stdint.h
* minor fixes
* change stdio to cstdio
* change stdlib to stdlib
* renamed ctype to cctype
* fix missing argument for UNSET_FLAG
Diffstat (limited to 'src/SSystem/SComponent/c_math.cpp')
| -rw-r--r-- | src/SSystem/SComponent/c_math.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SSystem/SComponent/c_math.cpp b/src/SSystem/SComponent/c_math.cpp index f590bc9bba..ba7a63c61a 100644 --- a/src/SSystem/SComponent/c_math.cpp +++ b/src/SSystem/SComponent/c_math.cpp @@ -5,7 +5,7 @@ #include "SSystem/SComponent/c_math.h" #include "SSystem/SComponent/c_m3d.h" -#include <math> +#include <cmath> s16 cM_rad2s(f32 rad) { s32 s = (std::fmod(rad, 2 * M_PI) * (0x8000 / M_PI)); |
