Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/ball_action.cpp @ 362:a64a6c34868f
vacuum -sg 15
author | e065746@localhost.localdomain |
---|---|
date | Fri, 17 Jul 2009 23:02:07 +0900 |
parents | 1f251e8cb2ec |
children |
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(); }