vrshoot

view src/scene.h @ 2:334d17aed7de

visual studio project files
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 18:36:38 +0200
parents
children
line source
1 #ifndef SCENE_H_
2 #define SCENE_H_
4 #include <vector>
5 #include "object.h"
6 #include "curve.h"
8 class Scene {
9 public:
10 std::vector<Object*> objects;
11 std::vector<Mesh*> meshes;
12 std::vector<Curve*> curves;
14 ~Scene();
15 void destroy();
17 bool load(const char *fname);
18 bool save(const char *fname) const;
20 void draw(long msec = 0) const;
21 };
23 #endif // SCENE_H_