Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/task/Switch.cc @ 422:976ca6f00d65
comment
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 12:35:32 +0900 |
parents | a71cc69f2343 |
children | 8c2e255f7a6c |
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 { | |
422 | 12 // 配列にする |
415 | 13 SceneGraphRootPtr tmp = sgroot; |
14 sgroot = sgroot_2; | |
15 sgroot_2 = tmp; | |
16 | |
17 return 0; | |
18 } |