aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2026-01-12 22:30:16 +0100
committervimene <vincent.menegaux@gmail.com>2026-01-12 22:30:16 +0100
commitc6e180ed8ba897620327938dc19f6ee792860fd4 (patch)
treeff986a71639ba118d175b33ea1782b7f7f043891 /src/math
parentf9c6bd77af826423fba4aeec86b227ccd7102b4e (diff)
downloadengine-c6e180ed8ba897620327938dc19f6ee792860fd4.tar.gz
fixed wrong header guard
Diffstat (limited to 'src/math')
-rw-r--r--src/math/mat4.hpp6
-rw-r--r--src/math/quat.hpp6
-rw-r--r--src/math/tform.hpp6
-rw-r--r--src/math/vector.hpp6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/math/mat4.hpp b/src/math/mat4.hpp
index 77c865a..6a215d3 100644
--- a/src/math/mat4.hpp
+++ b/src/math/mat4.hpp
@@ -1,5 +1,5 @@
-#ifndef MATH_MAT4_H
-#define MATH_MAT4_H
+#ifndef MATH_MAT4_HPP
+#define MATH_MAT4_HPP
#include <array>
#include <cmath>
@@ -190,4 +190,4 @@ constexpr Matrix4 operator*(float fac, const Matrix4& m) {
}
-#endif // MATH_MAT4_H
+#endif // MATH_MAT4_HPP
diff --git a/src/math/quat.hpp b/src/math/quat.hpp
index 271070a..51392e7 100644
--- a/src/math/quat.hpp
+++ b/src/math/quat.hpp
@@ -1,5 +1,5 @@
-#ifndef MATH_QUAT_H
-#define MATH_QUAT_H
+#ifndef MATH_QUAT_HPP
+#define MATH_QUAT_HPP
#include <cmath>
@@ -75,4 +75,4 @@ struct Quaternion {
}
-#endif // MATH_QUAT_H
+#endif // MATH_QUAT_HPP
diff --git a/src/math/tform.hpp b/src/math/tform.hpp
index d47e0ad..03fc0bb 100644
--- a/src/math/tform.hpp
+++ b/src/math/tform.hpp
@@ -1,5 +1,5 @@
-#ifndef MATH_TFORM_H
-#define MATH_TFORM_H
+#ifndef MATH_TFORM_HPP
+#define MATH_TFORM_HPP
#include <array>
#include "math/vector.hpp"
@@ -46,4 +46,4 @@ class Transform {
}
-#endif // MATH_TFORM_H
+#endif // MATH_TFORM_HPP
diff --git a/src/math/vector.hpp b/src/math/vector.hpp
index a0e58e1..e836e0d 100644
--- a/src/math/vector.hpp
+++ b/src/math/vector.hpp
@@ -1,5 +1,5 @@
-#ifndef MATH_VECTOR_H
-#define MATH_VECTOR_H
+#ifndef MATH_VECTOR_HPP
+#define MATH_VECTOR_HPP
#include <cmath>
#include "math/quat.hpp"
@@ -233,4 +233,4 @@ constexpr Vector4 operator/(const Vector4& other, float n) {
}
-#endif // MATH_VECTOR_H
+#endif // MATH_VECTOR_HPP