vrshoot
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef SCENE_H_ |
nuclear@0 | 2 #define SCENE_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <vector> |
nuclear@0 | 5 #include "object.h" |
nuclear@0 | 6 #include "curve.h" |
nuclear@0 | 7 |
nuclear@0 | 8 class Scene { |
nuclear@0 | 9 public: |
nuclear@0 | 10 std::vector<Object*> objects; |
nuclear@0 | 11 std::vector<Mesh*> meshes; |
nuclear@0 | 12 std::vector<Curve*> curves; |
nuclear@0 | 13 |
nuclear@0 | 14 ~Scene(); |
nuclear@0 | 15 void destroy(); |
nuclear@0 | 16 |
nuclear@0 | 17 bool load(const char *fname); |
nuclear@0 | 18 bool save(const char *fname) const; |
nuclear@0 | 19 |
nuclear@0 | 20 void draw(long msec = 0) const; |
nuclear@0 | 21 }; |
nuclear@0 | 22 |
nuclear@0 | 23 #endif // SCENE_H_ |