view 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
line wrap: on
line source

#include <stdlib.h>
#include <string.h>
#include "Switch.h"
#include "viewer_types.h"
#include "SceneGraphRoot.h"

SchedDefineTask(Switch);

int
Switch::run(void *rbuf, void *wbuf)
{
// 配列にする
    SceneGraphRootPtr tmp = sgroot;
    sgroot = sgroot_2;
    sgroot_2 = tmp;

    return 0;
}