aboutsummaryrefslogtreecommitdiff
path: root/src/math/mat4.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-26 08:43:14 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-26 08:43:14 +0100
commit5a1d67d1797a3db874e44500e13237d676843185 (patch)
tree17d0f1c2db6cc32fe40fdde4a081b96e8ad0ae13 /src/math/mat4.h
parentf63febed2a769d0c55192e192a20b8e39f162932 (diff)
downloadengine-5a1d67d1797a3db874e44500e13237d676843185.tar.gz
added namespaces, made every function in engine.cpp static and added warnings' flags
Diffstat (limited to 'src/math/mat4.h')
-rw-r--r--src/math/mat4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/math/mat4.h b/src/math/mat4.h
index 6df9d49..d8b66c4 100644
--- a/src/math/mat4.h
+++ b/src/math/mat4.h
@@ -4,6 +4,8 @@
#include <array>
#include "math/math_vector.h"
+namespace engine::math {
+
class Mat4 {
public:
static Mat4 idty();
@@ -27,4 +29,6 @@ class Mat4 {
Mat4 operator*(float fac, Mat4 m);
+}
+
#endif // MATH_MAT4_H