goat3dgfx

view src/scene.h @ 15:7d6b667821cf

wrapped everything in the goatgfx namespace
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 30 Nov 2013 20:52:21 +0200
parents 1868c5975f31
children 0b863938da04
line source
1 #ifndef SCENE_H_
2 #define SCENE_H_
4 #include <vector>
5 #include "object.h"
6 #include "curve.h"
8 namespace goatgfx {
10 class Scene {
11 public:
12 std::vector<Object*> objects;
13 std::vector<Mesh*> meshes;
14 std::vector<Curve*> curves;
16 ~Scene();
17 void destroy();
19 bool load(const char *fname);
20 bool save(const char *fname) const;
22 void draw(long msec = 0) const;
23 };
25 } // namespace goatgfx
27 #endif // SCENE_H_