Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/ball_action.cpp @ 323:1f251e8cb2ec
add gaplant
author | aaa |
---|---|
date | Wed, 10 Jun 2009 17:18:15 +0900 |
parents | |
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(); }