Mercurial > hg > Members > tkaito > task_dandy
comparison stage_init.cc @ 18:2c188b2becec
task_dandy test ver
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 09 Aug 2010 01:22:53 +0900 |
parents | 813485a28b6f |
children | 632ce41a842a |
comparison
equal
deleted
inserted
replaced
17:bed43801fd01 | 18:2c188b2becec |
---|---|
7 ObjPropertyPtr charactor = (ObjPropertyPtr)charactor_; | 7 ObjPropertyPtr charactor = (ObjPropertyPtr)charactor_; |
8 SceneGraphPtr back1, title; | 8 SceneGraphPtr back1, title; |
9 back1 = (SceneGraphPtr)charactor[0].parent; | 9 back1 = (SceneGraphPtr)charactor[0].parent; |
10 title = (SceneGraphPtr)charactor[0].root; | 10 title = (SceneGraphPtr)charactor[0].root; |
11 | 11 |
12 title->xyz[0] = charactor[0].x; | 12 title->xyz[0] += 1;//charactor[0].x; |
13 title->xyz[1] = charactor[0].y; | 13 title->xyz[1] += 1; //charactor[0].y; |
14 | 14 |
15 printf("title_x = %f\n", title->xyz[0]); | 15 printf("title_x = %f\n", title->xyz[0]); |
16 printf("title_y = %f\n", title->xyz[1]); | 16 printf("title_y = %f\n", title->xyz[1]); |
17 } | 17 } |
18 | 18 |