vrshoot

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/scene.h	Sat Feb 01 19:58:19 2014 +0200
     1.3 @@ -0,0 +1,23 @@
     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 +	bool load(const char *fname);
    1.21 +	bool save(const char *fname) const;
    1.22 +
    1.23 +	void draw(long msec = 0) const;
    1.24 +};
    1.25 +
    1.26 +#endif	// SCENE_H_