rayzor

view src/scene.h @ 0:2a5340a6eee4

rayzor first commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 08:46:27 +0300
parents
children a826bf0fb169
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_