changeset 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 bed43801fd01
children 632ce41a842a
files ppe/TitleMove.cc stage_init.cc
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ppe/TitleMove.cc	Sun Aug 08 18:55:51 2010 +0900
+++ b/ppe/TitleMove.cc	Mon Aug 09 01:22:53 2010 +0900
@@ -16,9 +16,10 @@
   o_obj = (ObjPropertyPtr)s->get_output(wbuf, 0);
 
   i_obj[0].x += i_obj[0].vx;
+  i_obj[0].y += i_obj[0].vy;
 
-  printf("indata_x = %f\n", i_obj[0].x);
-  printf("indata_y = %f\n", i_obj[0].y);
+  //  printf("indata_x = %f\n", i_obj[0].x);
+  //  printf("indata_y = %f\n", i_obj[0].y);
 
   s->swap();
 
--- a/stage_init.cc	Sun Aug 08 18:55:51 2010 +0900
+++ b/stage_init.cc	Mon Aug 09 01:22:53 2010 +0900
@@ -9,8 +9,8 @@
   back1 = (SceneGraphPtr)charactor[0].parent;
   title = (SceneGraphPtr)charactor[0].root;
   
-  title->xyz[0] = charactor[0].x;
-  title->xyz[1] = charactor[0].y;
+  title->xyz[0] += 1;//charactor[0].x;
+  title->xyz[1] += 1; //charactor[0].y;
 
   printf("title_x = %f\n", title->xyz[0]);
   printf("title_y = %f\n", title->xyz[1]);