goat3dgfx

view src/scene.h @ 23:0ac499409edd

added misisng header file in goat3dgfx.h added contains() function in geom
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Feb 2014 23:47:48 +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_