erebus

view liberebus/src/scene.h @ 0:4abdce1361b9

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 27 Apr 2014 16:02:47 +0300
parents
children 59a72293f9bd
line source
1 #ifndef SCENE_H_
2 #define SCENE_H_
4 #include <vector>
5 #include "snode.h"
6 #include "camera.h"
8 class Scene {
9 private:
10 std::vector<Object*> objects;
11 std::vector<SceneNode*> nodes;
13 Camera *active_cam;
15 public:
16 Scene();
17 ~Scene();
19 void add_object(Object *obj);
20 Object *get_object(int idx);
21 };
23 #endif // SCENE_H_