aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/scene.h
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2023-11-26 17:58:30 +0100
committervimene <vincent.menegaux@gmail.com>2023-11-26 17:58:30 +0100
commite730e8bdc69ef89dfa28d2606d260cb8b72f4740 (patch)
treec219050793df6d1d777e94ea3c887027cde7451e /src/o3d/scene.h
parent5a1d67d1797a3db874e44500e13237d676843185 (diff)
downloadengine-e730e8bdc69ef89dfa28d2606d260cb8b72f4740.tar.gz
added scenes, camera and meshes
Diffstat (limited to 'src/o3d/scene.h')
-rw-r--r--src/o3d/scene.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/o3d/scene.h b/src/o3d/scene.h
new file mode 100644
index 0000000..3759cfb
--- /dev/null
+++ b/src/o3d/scene.h
@@ -0,0 +1,20 @@
+#ifndef O3D_SCENE_H
+#define O3D_SCENE_H
+
+#include <vector>
+#include "o3d/obj3d.h"
+#include "o3d/camera.h"
+
+namespace engine::o3d {
+
+class Scene {
+ public:
+ Camera camera;
+ std::vector<Object3D> objs;
+
+ Scene(Camera camera, std::vector<Object3D> objs);
+};
+
+}
+
+#endif // O3D_SCENE_H