comparison greenclab.cc @ 5:57af5c610b34

iroiro add
author tkaito
date Mon, 07 Jun 2010 02:16:02 +0900
parents e089ac9ea221
children 581fa1888e2e
comparison
equal deleted inserted replaced
4:e089ac9ea221 5:57af5c610b34
1 #include "game_scene01.h" 1 #include "game_scene01.h"
2 2
3 void 3 void
4 gclab_move(SceneGraphPtr node, void *sgroot_, int w, int h) 4 gclab_move(SceneGraphPtr node, void *sgroot_, int w, int h)
5 { 5 {
6 6 node->xyz[1] += 10;
7 /*
8 if (w > node->xyz[0]) {
9 } else if (0 < node->xyz[0]) {
10 }
11 if (0 < node->xyz[1]) {
12 } else if (h > node->xyz[1]) {
13 }
14 */
15 } 7 }
16 8
17 void 9 void
18 gclab_collision(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree) 10 gclab_collision(SceneGraphPtr node, void *sgroot_, int w, int h, SceneGraphPtr tree)
19 { 11 {