Mercurial > hg > Members > tkaito > task_dandy
annotate spe/TitleMove.cc @ 7:c015109a6041
schedule add. 10% done.
author | tkaito |
---|---|
date | Tue, 29 Jun 2010 04:25:32 +0900 |
parents | |
children |
rev | line source |
---|---|
7 | 1 #include <stdio.h> |
2 #include "SchedTask.h" | |
3 #include "TitleMove.h" | |
4 #include "Func.h" | |
5 | |
6 /* これは必須 */ | |
7 SchedDefineTask1(TitleMove, titlemove); | |
8 | |
9 static int | |
10 titlemove(SchedTask *s,void *rbuf, void *wbuf) | |
11 { | |
12 ObjPropertyPtr i_obj; | |
13 ObjPropertyPtr o_obj; | |
14 | |
15 i_obj = (ObjPropertyPtr)s->get_input(rbuf, 0); | |
16 o_obj = (ObjPropertyPtr)s->get_output(wbuf, 0); | |
17 | |
18 o_obj[0] = i_obj[0]; | |
19 | |
20 //printf("x = %f\n", i_obj[0].x); | |
21 //printf("y = %f\n", i_obj[0].y); | |
22 | |
23 return 0; | |
24 } |