view Dandy.h @ 6:6541f0bebb81

cerium redering engine main routine.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 18:11:38 +0900
parents
children 5c405fb3b164
line wrap: on
line source

#ifndef INCLUDE_DANDY_H
#define INCLUDE_DANDY_H

#include "TaskManager.h"
#include "SceneGraph.h"
#include "Application.h"
#include "MainLoop.h"
#include "Func.h"

class Dandy : public Application {
    bool app_main(Viewer *viewer){};
    HTaskPtr application_task(HTaskPtr next, Viewer* viewer){return next;};
    MainLoopPtr init(Viewer *viewer, int w, int h);
};

typedef void (*move)(SceneGraphPtr node, void *sgroot_, int w, int h);
typedef void (*coll)(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree);

#endif