Mercurial > hg > Members > kono > Cerium
diff Renderer/Test/gaplant.cc @ 557:ec72b601b71f
fix examlples (on going)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 17:34:12 +0900 |
parents | f6daf964f483 |
children | 1a2f015c42b2 |
line wrap: on
line diff
--- a/Renderer/Test/gaplant.cc Thu Oct 22 14:05:24 2009 +0900 +++ b/Renderer/Test/gaplant.cc Thu Oct 22 17:34:12 2009 +0900 @@ -3,8 +3,8 @@ #include "gaplant_action.h" #include "back_action.h" -void -init_gaplant(TaskManager *manager, int w, int h) +MainLoopPtr +gaplant::init_gaplant(Viewer *sgroot, int w, int h) { SceneGraphPtr back; SceneGraphPtr gaplant; @@ -27,4 +27,5 @@ back->addChild(gaplant); sgroot->setSceneData(back); + return sgroot; }