aboutsummaryrefslogtreecommitdiff
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
parentf9c6bd77af826423fba4aeec86b227ccd7102b4e (diff)
downloadengine-c6e180ed8ba897620327938dc19f6ee792860fd4.tar.gz
fixed wrong header guard
-rw-r--r--src/ctrl/keyboard.hpp6
-rw-r--r--src/ctrl/mouse.hpp6
-rw-r--r--src/fb/chfb.hpp6
-rw-r--r--src/fb/pixfb.hpp6
-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
-rw-r--r--src/o3d/camera.hpp6
-rw-r--r--src/o3d/deriv_vertex.hpp6
-rw-r--r--src/o3d/obj3d.hpp6
-rw-r--r--src/o3d/scene.hpp6
-rw-r--r--src/o3d/tri.hpp6
-rw-r--r--src/o3d/tri_deriv.hpp6
-rw-r--r--src/o3d/vertex.hpp6
-rw-r--r--src/o3d/vertex_data.hpp6
-rw-r--r--src/obj_parser.hpp6
-rw-r--r--src/renderer.hpp6
18 files changed, 54 insertions, 54 deletions
diff --git a/src/ctrl/keyboard.hpp b/src/ctrl/keyboard.hpp
index c8ab983..f7bdf3d 100644
--- a/src/ctrl/keyboard.hpp
+++ b/src/ctrl/keyboard.hpp
@@ -1,5 +1,5 @@
-#ifndef CTRL_KEYBOARD_H
-#define CTRL_KEYBOARD_H
+#ifndef CTRL_KEYBOARD_HPP
+#define CTRL_KEYBOARD_HPP
#include <cstdint>
#include "math/vector.hpp"
@@ -49,4 +49,4 @@ class Keyboard {
}
-#endif // CTRL_KEYBOARD_H
+#endif // CTRL_KEYBOARD_HPP
diff --git a/src/ctrl/mouse.hpp b/src/ctrl/mouse.hpp
index 8973499..5c7af80 100644
--- a/src/ctrl/mouse.hpp
+++ b/src/ctrl/mouse.hpp
@@ -1,5 +1,5 @@
-#ifndef CTRL_MOUSE_H
-#define CTRL_MOUSE_H
+#ifndef CTRL_MOUSE_HPP
+#define CTRL_MOUSE_HPP
#include "math/vector.hpp"
@@ -20,4 +20,4 @@ class Mouse {
}
-#endif // CTRL_MOUSE_H
+#endif // CTRL_MOUSE_HPP
diff --git a/src/fb/chfb.hpp b/src/fb/chfb.hpp
index 8e47d6b..7f6857b 100644
--- a/src/fb/chfb.hpp
+++ b/src/fb/chfb.hpp
@@ -1,5 +1,5 @@
-#ifndef FB_CHFB_H
-#define FB_CHFB_H
+#ifndef FB_CHFB_HPP
+#define FB_CHFB_HPP
#include <vector>
#include "math/vector.hpp"
@@ -35,4 +35,4 @@ class CharacterFrameBuffer {
}
-#endif // FB_CHFB_H
+#endif // FB_CHFB_HPP
diff --git a/src/fb/pixfb.hpp b/src/fb/pixfb.hpp
index f7a7acb..92fa604 100644
--- a/src/fb/pixfb.hpp
+++ b/src/fb/pixfb.hpp
@@ -1,5 +1,5 @@
-#ifndef FB_PIXFB_H
-#define FB_PIXFB_H
+#ifndef FB_PIXFB_HPP
+#define FB_PIXFB_HPP
#include <vector>
#include <cstdint>
@@ -37,4 +37,4 @@ class PixelFrameBuffer {
}
-#endif // FB_PIXFB_H
+#endif // FB_PIXFB_HPP
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
diff --git a/src/o3d/camera.hpp b/src/o3d/camera.hpp
index b3588fb..eb10450 100644
--- a/src/o3d/camera.hpp
+++ b/src/o3d/camera.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_CAMERA_H
-#define O3D_CAMERA_H
+#ifndef O3D_CAMERA_HPP
+#define O3D_CAMERA_HPP
#include "math/mat4.hpp"
#include "math/tform.hpp"
@@ -21,4 +21,4 @@ struct Camera {
}
-#endif // O3D_CAMERA_H
+#endif // O3D_CAMERA_HPP
diff --git a/src/o3d/deriv_vertex.hpp b/src/o3d/deriv_vertex.hpp
index bc47780..6fc32e0 100644
--- a/src/o3d/deriv_vertex.hpp
+++ b/src/o3d/deriv_vertex.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_DERIV_VERTEX_H
-#define O3D_DERIV_VERTEX_H
+#ifndef O3D_DERIV_VERTEX_HPP
+#define O3D_DERIV_VERTEX_HPP
#include "math/vector.hpp"
@@ -18,4 +18,4 @@ struct DerivedVertex {
}
-#endif // O3D_DERIV_VERTEX_H
+#endif // O3D_DERIV_VERTEX_HPP
diff --git a/src/o3d/obj3d.hpp b/src/o3d/obj3d.hpp
index 295d129..3429d8c 100644
--- a/src/o3d/obj3d.hpp
+++ b/src/o3d/obj3d.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_OBJ3D_H
-#define O3D_OBJ3D_H
+#ifndef O3D_OBJ3D_HPP
+#define O3D_OBJ3D_HPP
#include <type_traits>
#include "math/tform.hpp"
@@ -14,4 +14,4 @@ struct Object3D {
}
-#endif // O3D_OBJ3D_H
+#endif // O3D_OBJ3D_HPP
diff --git a/src/o3d/scene.hpp b/src/o3d/scene.hpp
index 65008ac..bdac122 100644
--- a/src/o3d/scene.hpp
+++ b/src/o3d/scene.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_SCENE_H
-#define O3D_SCENE_H
+#ifndef O3D_SCENE_HPP
+#define O3D_SCENE_HPP
#include <vector>
#include <type_traits>
@@ -15,4 +15,4 @@ struct Scene {
}
-#endif // O3D_SCENE_H
+#endif // O3D_SCENE_HPP
diff --git a/src/o3d/tri.hpp b/src/o3d/tri.hpp
index 7538d22..712c135 100644
--- a/src/o3d/tri.hpp
+++ b/src/o3d/tri.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_TRI_H
-#define O3D_TRI_H
+#ifndef O3D_TRI_HPP
+#define O3D_TRI_HPP
#include <vector>
#include "o3d/vertex.hpp"
@@ -19,4 +19,4 @@ struct Triangle {
}
-#endif // O3D_TRI_H
+#endif // O3D_TRI_HPP
diff --git a/src/o3d/tri_deriv.hpp b/src/o3d/tri_deriv.hpp
index f82bd9b..65713ed 100644
--- a/src/o3d/tri_deriv.hpp
+++ b/src/o3d/tri_deriv.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_TRI_VERTEX_H
-#define O3D_TRI_VERTEX_H
+#ifndef O3D_TRI_VERTEX_HPP
+#define O3D_TRI_VERTEX_HPP
#include <vector>
#include "o3d/vertex.hpp"
@@ -22,4 +22,4 @@ struct TriangleDerived {
}
-#endif // O3D_TRI_VERTEX_H
+#endif // O3D_TRI_VERTEX_HPP
diff --git a/src/o3d/vertex.hpp b/src/o3d/vertex.hpp
index 70fca7b..1605f0d 100644
--- a/src/o3d/vertex.hpp
+++ b/src/o3d/vertex.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_VERTEX_H
-#define O3D_VERTEX_H
+#ifndef O3D_VERTEX_HPP
+#define O3D_VERTEX_HPP
#include "math/vector.hpp"
#include "o3d/vertex_data.hpp"
@@ -16,4 +16,4 @@ struct Vertex {
}
-#endif // O3D_VERTEX_H
+#endif // O3D_VERTEX_HPP
diff --git a/src/o3d/vertex_data.hpp b/src/o3d/vertex_data.hpp
index 0ebc6c9..f70100c 100644
--- a/src/o3d/vertex_data.hpp
+++ b/src/o3d/vertex_data.hpp
@@ -1,5 +1,5 @@
-#ifndef O3D_VERTEX_DATA_H
-#define O3D_VERTEX_DATA_H
+#ifndef O3D_VERTEX_DATA_HPP
+#define O3D_VERTEX_DATA_HPP
#include "math/vector.hpp"
@@ -26,4 +26,4 @@ struct VertexData {
}
-#endif // O3D_VERTEX_DATA_H
+#endif // O3D_VERTEX_DATA_HPP
diff --git a/src/obj_parser.hpp b/src/obj_parser.hpp
index f6e8ca1..df3f9fe 100644
--- a/src/obj_parser.hpp
+++ b/src/obj_parser.hpp
@@ -1,5 +1,5 @@
-#ifndef OBJ_PARSER_H
-#define OBJ_PARSER_H
+#ifndef OBJ_PARSER_HPP
+#define OBJ_PARSER_HPP
#include "o3d/mesh.hpp"
@@ -9,4 +9,4 @@ o3d::Mesh parse_object(const std::string& obj_path);
}
-#endif // OBJ_PARSER_H
+#endif // OBJ_PARSER_HPP
diff --git a/src/renderer.hpp b/src/renderer.hpp
index 9093c2e..ec67489 100644
--- a/src/renderer.hpp
+++ b/src/renderer.hpp
@@ -1,5 +1,5 @@
-#ifndef RENDERER_H
-#define RENDERER_H
+#ifndef RENDERER_HPP
+#define RENDERER_HPP
#include <memory>
#include "math/vector.hpp"
@@ -38,4 +38,4 @@ class Renderer {
}
-#endif // RENDERER_H
+#endif // RENDERER_HPP