summaryrefslogtreecommitdiff
path: root/include/JSystem
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem')
-rw-r--r--include/JSystem/JGeometry.h3
-rw-r--r--include/JSystem/JMath/JMath.h2
-rw-r--r--include/JSystem/JParticle/JPAEmitter.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/include/JSystem/JGeometry.h b/include/JSystem/JGeometry.h
index 8a298132..cfe10968 100644
--- a/include/JSystem/JGeometry.h
+++ b/include/JSystem/JGeometry.h
@@ -2,9 +2,10 @@
#define JGEOMETRY_H
#include "common.h"
-#include "math.h"
#include "JSystem/JMath/JMath.h"
+#include <cmath>
+
// TODO - a lot of this has been moved to nw4r and egg. Kept for reference for now.
namespace JGeometry {
diff --git a/include/JSystem/JMath/JMath.h b/include/JSystem/JMath/JMath.h
index 343571b8..5a86c82c 100644
--- a/include/JSystem/JMath/JMath.h
+++ b/include/JSystem/JMath/JMath.h
@@ -3,7 +3,7 @@
#include "common.h"
#include "rvl/MTX.h"
-#include "math.h"
+#include <cmath>
void JMAMTXApplyScale(const Mtx, Mtx, f32, f32, f32);
void JMAEulerToQuat(s16 param_0, s16 param_1, s16 param_2, Quaternion* param_3);
diff --git a/include/JSystem/JParticle/JPAEmitter.h b/include/JSystem/JParticle/JPAEmitter.h
index 807c2d96..ecf1e9f5 100644
--- a/include/JSystem/JParticle/JPAEmitter.h
+++ b/include/JSystem/JParticle/JPAEmitter.h
@@ -12,6 +12,8 @@
#include "egg/math/eggVector.h"
#include "m/m_angle.h"
+#include <cstdint>
+
class JPAResourceManager;
class JPABaseEmitter;
class JPAEmitterManager;