conworlds
view src/scene.h @ 16:7a2041ddb7e7
fixed line endings
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 24 Aug 2014 18:42:40 +0300 |
parents | |
children |
line source
1 #ifndef SCENE_H_
2 #define SCENE_H_
4 #include <vector>
5 #include "object.h"
6 #include "light.h"
7 #include "camera.h"
9 class Scene {
10 public:
11 std::vector<Object*> objects;
12 std::vector<Mesh*> meshes;
13 std::vector<Light*> lights;
14 std::vector<Camera*> cameras;
16 // nodes can be objects, lights, cameras, or just dummy nodes
17 std::vector<XFormNode*> nodes;
19 ~Scene();
20 void destroy();
22 void draw(long msec = 0) const;
23 };
25 #endif // SCENE_H_