view Dandy.h @ 10:a6dc38328741

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 08 Dec 2010 00:07:08 +0900
parents c88a4f98b5ef
children 8abcc221bbac
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_loop(Viewer *viewer);
    HTaskPtr application_task(HTaskPtr next, Viewer* viewer);
    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