Mercurial > hg > Members > kono > Cerium
comparison example/Bulk/ppe/Twice.cc @ 869:bcc81531a672
set_game_task add to SceneGraphRoot.
author | tkaito |
---|---|
date | Sun, 27 Jun 2010 23:01:44 +0900 |
parents | 5df90e02e34f |
children |
comparison
equal
deleted
inserted
replaced
868:58b4fb8ad77c | 869:bcc81531a672 |
---|---|
12 // SchedTaskArray *a = (SchedTaskArray *)s; | 12 // SchedTaskArray *a = (SchedTaskArray *)s; |
13 | 13 |
14 int *i_data; | 14 int *i_data; |
15 int *o_data; | 15 int *o_data; |
16 long length; | 16 long length; |
17 int count = (int)s->get_param(0); | 17 long count = (long)s->get_param(0); |
18 | 18 |
19 for(int j = 0; j<count; j++) { | 19 for(int j = 0; j<count; j++) { |
20 i_data = (int*)s->get_input(rbuf, j); | 20 i_data = (int*)s->get_input(rbuf, j); |
21 o_data = (int*)s->get_output(wbuf, j); | 21 o_data = (int*)s->get_output(wbuf, j); |
22 length = (long)s->get_param(j+1); | 22 length = (long)s->get_param(j+1); |