Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/Application.h @ 727:aaaa0baeab89
fix SgChange.cc, SgRootChange.cc
author | aaa |
---|---|
date | Sat, 19 Dec 2009 17:11:43 +0900 |
parents | d0b8860c17f8 |
children | 4f77768d7a7f 716d8bd95503 |
line wrap: on
line source
#ifndef INCLUDED_APPLICATION #define INCLUDED_APPLICATION #include "SceneGraph.h" #include "MainLoop.h" #include "viewer.h" #include "SgChange.h" typedef void (*Move_func)(SceneGraph* node, int screen_w, int screen_h); typedef void (*Coll_func)(SceneGraph* node, int screen_w, int screen_h, SceneGraphPtr tree); class Viewer; class SgChange; class Application { public: Application(); virtual ~Application(); virtual MainLoopPtr init(Viewer *viewer, int w, int h) = 0; virtual MainLoopPtr init_only_sg(SgChange *sgchange, int w, int h) = 0; }; #endif