view example/cube/CubeSceneGraph.cpp @ 354:cfd20d609ace draft

add example/get_segment and change spe/DrawSpan.cpp
author koba
date Wed, 15 Jul 2009 17:39:51 +0900
parents df32980116bd
children
line wrap: on
line source

#include "CubeSceneGraph.h"

CubeSceneGraph::CubeSceneGraph(char *xml)
{
    SceneGraph::SceneGraph(xml);
    task = new CubeTask();
}

void
CubeSceneGraph::update(CubeSceneGraph *old)
{
    task->update(old->data_pack, data_pack);
}