Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/long_cube.cpp @ 397:a4f690f44842
delete manager (in kernel/ppe/TaskManager.h)
don't move.
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sun, 20 Sep 2009 18:55:26 +0900 |
parents | e1d24c951408 |
children |
line wrap: on
line source
#include "SceneGraphRoot.h" #include "SGList.h" // prototype static void lcube_move(SceneGraphPtr node, int screen_w, int screen_h); //static void lcube_collision(SceneGraphPtr node, int screen_w, int screen_h); static void lcube_move(SceneGraphPtr node, int screen_w, int screen_h) { } static void lcube_collision(SceneGraphPtr node, int screen_w, int screen_h, SceneGraphPtr tree) { } void lcube_init(TaskManager *manager, int screen_w, int screen_h) { SceneGraphPtr lcube; sgroot->createFromXMLfile(manager, "xml_file/LongCube.xml"); lcube = sgroot->createSceneGraph(LongCube); lcube->set_move_collision(lcube_move, lcube_collision); sgroot->setSceneData(lcube); }