summaryrefslogtreecommitdiff
path: root/include/egg/math
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2024-05-04 18:29:37 +0200
committerrobojumper <robojumper@gmail.com>2024-05-06 21:58:50 +0200
commitee92f6bb8385b05edf4aab03a5dd2e83c7d7c25f (patch)
tree8df0200257dcfa27ef8ee09659d61bcb29c89344 /include/egg/math
parent126c5db9431bef2b6f032bce673d7c3d61e62aa3 (diff)
WIP controller stuff
Diffstat (limited to 'include/egg/math')
-rw-r--r--include/egg/math/eggMath.h1
-rw-r--r--include/egg/math/eggVector.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/egg/math/eggMath.h b/include/egg/math/eggMath.h
index 5381f635..d608e4a0 100644
--- a/include/egg/math/eggMath.h
+++ b/include/egg/math/eggMath.h
@@ -2,6 +2,7 @@
#define EGG_MATH_H
#include <common.h>
+#include <MSL_C/float.h>
namespace EGG {
diff --git a/include/egg/math/eggVector.h b/include/egg/math/eggVector.h
index bbad7315..0d8735ee 100644
--- a/include/egg/math/eggVector.h
+++ b/include/egg/math/eggVector.h
@@ -109,7 +109,9 @@ struct Vector3f : public nw4r::math::VEC3 {
};
struct Vector2f : nw4r::math::VEC2 {
+ inline Vector2f() {}
Vector2f(f32 fx, f32 fy) : VEC2(fx, fy) {}
+ inline ~Vector2f() {}
public:
/* 805767c0 */ static const Vector2f zero;