vrshoot

view src/scene.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +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_