rayzor

view src/scene.h @ 3:9035507275d6

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 20:53:44 +0300
parents 2a5340a6eee4
children a68dbf80d547
line source
1 #ifndef SCENE_H_
2 #define SCENE_H_
4 #include <string>
5 #include <vector.h>
6 #include "object.h"
7 #include "light.h"
8 #include "camera.h"
10 class Scene {
11 private:
12 char *name;
13 vector<Object*> objects;
14 vector<Light*> lights;
15 vector<Camera*> cameras;
17 public:
18 Scene();
19 ~Scene();
21 void clear();
23 void set_name(const char *name);
24 const char *get_name() const;
26 void draw() const;
27 };
29 #endif // SCENE_H_