Mercurial > hg > Game > Cerium
annotate TaskManager/Test/test_render/task/Switch.cc @ 421:6094dfd1f08c draft
comment
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 12:35:32 +0900 |
parents | 0ec031961882 |
children | c89b034ca2ea |
rev | line source |
---|---|
415 | 1 #include <stdlib.h> |
2 #include <string.h> | |
3 #include "Switch.h" | |
4 #include "viewer_types.h" | |
5 #include "SceneGraphRoot.h" | |
6 | |
7 SchedDefineTask(Switch); | |
8 | |
9 int | |
10 Switch::run(void *rbuf, void *wbuf) | |
11 { | |
421 | 12 // 配列にする |
415 | 13 SceneGraphRootPtr tmp = sgroot; |
14 sgroot = sgroot_2; | |
15 sgroot_2 = tmp; | |
16 | |
17 return 0; | |
18 } |