Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/Application/ball_action.cc @ 431:b40a9b901d71 draft
fix
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 20:43:14 +0900 |
parents | 2c592936bbdf |
children | 8d86242337ba |
line wrap: on
line source
#include <iostream> #include "SceneGraphRoot.h" #include "SGList.h" using namespace std; void ball_move(SceneGraphPtr node, int w, int h) { node->xyz[0] += 4; } void ball_coll(SceneGraphPtr node, int w, int h, SceneGraphPtr tree) { if (node->xyz[0] > 600) node->remove(); }