Mercurial > hg > Members > kono > Cerium
diff Renderer/Test/long_cube.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 |
line wrap: on
line diff
--- a/Renderer/Test/long_cube.cc Thu Oct 22 14:05:24 2009 +0900 +++ b/Renderer/Test/long_cube.cc Thu Oct 22 17:34:12 2009 +0900 @@ -1,5 +1,5 @@ #include "SceneGraphRoot.h" -#include "SGList.h" +#include "long_cube.h" // prototype static void lcube_move(SceneGraphPtr node, int screen_w, int screen_h); @@ -18,8 +18,8 @@ } -void -lcube_init(TaskManager *manager, int screen_w, int screen_h) +MainLoopPtr +lcube_init(Viewer *sgroot, int screen_w, int screen_h) { SceneGraphPtr lcube; @@ -28,4 +28,5 @@ lcube->set_move_collision(lcube_move, lcube_collision); sgroot->setSceneData(lcube); + return sgroot; }