Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/Application.h @ 656:d0b8860c17f8
remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 25 Nov 2009 21:56:14 +0900 |
parents | 997490a061ee |
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