annotate TaskManager/Test/test_render/task/Switch.cc @ 454:c89b034ca2ea draft

Chain work
author kazz@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 26 Sep 2009 00:17:04 +0900
parents 6094dfd1f08c
children 60f44d3ea452
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
415
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
1 #include <stdlib.h>
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
2 #include <string.h>
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
3 #include "Switch.h"
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
4 #include "viewer_types.h"
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
5 #include "SceneGraphRoot.h"
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
6
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
7 SchedDefineTask(Switch);
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
8
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
9 int
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
10 Switch::run(void *rbuf, void *wbuf)
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
11 {
421
6094dfd1f08c comment
game@henri.cr.ie.u-ryukyu.ac.jp
parents: 415
diff changeset
12 // 配列にする
454
c89b034ca2ea Chain work
kazz@henri.cr.ie.u-ryukyu.ac.jp
parents: 421
diff changeset
13 // SceneGraphRootPtr tmp = sgroot;
c89b034ca2ea Chain work
kazz@henri.cr.ie.u-ryukyu.ac.jp
parents: 421
diff changeset
14 // sgroot = sgroot_2;
c89b034ca2ea Chain work
kazz@henri.cr.ie.u-ryukyu.ac.jp
parents: 421
diff changeset
15 // sgroot_2 = tmp;
415
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
16
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
17 return 0;
0ec031961882 SceneGraph switch add
tkaito@henri.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
18 }