aboutsummaryrefslogtreecommitdiff
path: root/src/o3d/scene.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/o3d/scene.h')
-rw-r--r--src/o3d/scene.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/o3d/scene.h b/src/o3d/scene.h
index 3759cfb..3b9131c 100644
--- a/src/o3d/scene.h
+++ b/src/o3d/scene.h
@@ -2,17 +2,15 @@
#define O3D_SCENE_H
#include <vector>
+#include <type_traits>
#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);
+struct Scene {
+ Camera camera;
+ std::vector<Object3D> objs;
};
}