Mercurial > hg > Game > Cerium
annotate TaskManager/Test/test_render/ball_action.cpp @ 357:6602b9ba4bfd draft
fix spe/DrawSpan.{cpp, h} spe/DrawSpanRenew.cpp
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 17 Jul 2009 17:13:17 +0900 |
parents | a65430fb7790 |
children |
rev | line source |
---|---|
323 | 1 #include <iostream> |
2 #include "SceneGraphRoot.h" | |
3 #include "SGList.h" | |
4 using namespace std; | |
5 | |
6 void | |
7 ball_move(SceneGraphPtr node, int w, int h) | |
8 { | |
9 node->xyz[0] += 4; | |
10 } | |
11 | |
12 void | |
13 ball_coll(SceneGraphPtr node, int w, int h, SceneGraphPtr tree) | |
14 { | |
15 if (node->xyz[0] > 600) node->remove(); | |
16 } |