erebus

diff liberebus/src/scene.h @ 0:4abdce1361b9

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 27 Apr 2014 16:02:47 +0300
parents
children 59a72293f9bd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liberebus/src/scene.h	Sun Apr 27 16:02:47 2014 +0300
     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 "snode.h"
     1.9 +#include "camera.h"
    1.10 +
    1.11 +class Scene {
    1.12 +private:
    1.13 +	std::vector<Object*> objects;
    1.14 +	std::vector<SceneNode*> nodes;
    1.15 +
    1.16 +	Camera *active_cam;
    1.17 +
    1.18 +public:
    1.19 +	Scene();
    1.20 +	~Scene();
    1.21 +
    1.22 +	void add_object(Object *obj);
    1.23 +	Object *get_object(int idx);
    1.24 +};
    1.25 +
    1.26 +#endif	// SCENE_H_
    1.27 \ No newline at end of file