goat3dgfx
diff src/scene.h @ 0:1873dfd13f2d
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 14 Nov 2013 05:27:09 +0200 |
parents | |
children | 1868c5975f31 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/scene.h Thu Nov 14 05:27:09 2013 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +#ifndef SCENE_H_ 1.5 +#define SCENE_H_ 1.6 + 1.7 +#include <vector> 1.8 +#include "object.h" 1.9 +#include "curve.h" 1.10 + 1.11 +class Scene { 1.12 +public: 1.13 + std::vector<Object*> objects; 1.14 + std::vector<Mesh*> meshes; 1.15 + std::vector<Curve*> curves; 1.16 + 1.17 + ~Scene(); 1.18 + void destroy(); 1.19 + 1.20 + void draw(long msec = 0) const; 1.21 +}; 1.22 + 1.23 +#endif // SCENE_H_