From 5a1d67d1797a3db874e44500e13237d676843185 Mon Sep 17 00:00:00 2001 From: vimene Date: Sun, 26 Nov 2023 08:43:14 +0100 Subject: added namespaces, made every function in engine.cpp static and added warnings' flags --- src/math/mat4.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/math/mat4.h') 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 #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 -- cgit v1.2.3