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
This commit is contained in:
kipcode66
2026-01-12 17:48:25 -05:00
committed by GitHub
parent 53aaed17c0
commit dd03bf861f
164 changed files with 296 additions and 240 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include "Z2AudioLib/Z2Calc.h"
#include "JSystem/JMath/random.h"
#include <math>
#include <cmath>
f32 Z2Calc::linearTransform(f32 inValue, f32 inMin, f32 inMax, f32 outMin, f32 outMax, bool noClamp) {
f32 transformed = outMin + ((inValue - inMin) * ((outMax - outMin) / (inMax - inMin)));