Mercurial > hg > Members > tkaito > task_dandy
comparison ppe/TitleMove.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 | e95c5c280f47 |
children | 632ce41a842a |
comparison
equal
deleted
inserted
replaced
17:bed43801fd01 | 18:2c188b2becec |
---|---|
14 | 14 |
15 i_obj = (ObjPropertyPtr)s->get_input(rbuf, 0); | 15 i_obj = (ObjPropertyPtr)s->get_input(rbuf, 0); |
16 o_obj = (ObjPropertyPtr)s->get_output(wbuf, 0); | 16 o_obj = (ObjPropertyPtr)s->get_output(wbuf, 0); |
17 | 17 |
18 i_obj[0].x += i_obj[0].vx; | 18 i_obj[0].x += i_obj[0].vx; |
19 i_obj[0].y += i_obj[0].vy; | |
19 | 20 |
20 printf("indata_x = %f\n", i_obj[0].x); | 21 // printf("indata_x = %f\n", i_obj[0].x); |
21 printf("indata_y = %f\n", i_obj[0].y); | 22 // printf("indata_y = %f\n", i_obj[0].y); |
22 | 23 |
23 s->swap(); | 24 s->swap(); |
24 | 25 |
25 return 0; | 26 return 0; |
26 } | 27 } |