aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/vertex_data.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/o3d/vertex_data.h
parentf63febed2a769d0c55192e192a20b8e39f162932 (diff)
downloadengine-5a1d67d1797a3db874e44500e13237d676843185.tar.gz
added namespaces, made every function in engine.cpp static and added warnings' flags
Diffstat (limited to 'src/o3d/vertex_data.h')
-rw-r--r--src/o3d/vertex_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/o3d/vertex_data.h b/src/o3d/vertex_data.h
index 0000dda..dda881b 100644
--- a/src/o3d/vertex_data.h
+++ b/src/o3d/vertex_data.h
@@ -1,6 +1,8 @@
#ifndef O3D_VERTEX_DATA_H
#define O3D_VERTEX_DATA_H
+namespace engine::o3d {
+
class VertexData {
public:
static VertexData lerp(VertexData& vd1, VertexData& vd2, float s);
@@ -9,4 +11,6 @@ class VertexData {
VertexData();
};
+}
+
#endif // O3D_VERTEX_DATA_H