conworlds

view src/scene.h @ 22:5f53272ff612

removed the vr wrapper and added an external dependency to libgoatvr
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 29 Aug 2014 07:44:26 +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_