Page MenuHomec4science

scene.h
No OneTemporary

File Metadata

Created
Thu, Jan 9, 21:48
#ifndef __SCENE_H__
#define __SCENE_H__
#include <vector>
class Shape;
using namespace std;
//extern list<Shape*> shapelist;
namespace scene
{
/* Init function for the symulation scene */
void initialize();
/* Safely close the symulation scene */
void close();
/* Get all components */
vector<Shape*>& getAll(vector<Shape*>&);
/* Registers a object into the graphics engine (OpenGL) */
void registerObj(Shape*);
/* Unregister a object which is in the graphics engine (OpenGL) */
void unregisterObj(Shape*);
/* Unregister all object */
void unregisterAll();
/* Update the entire scene, called every frame */
void update(const float *dt = 0);
}
#endif

Event Timeline