Mercurial > hg > Game > Cerium
diff example/cube/CubeSceneGraph.cpp @ 0:df32980116bd
Initial revision
author | gongo |
---|---|
date | Sat, 02 Feb 2008 19:15:39 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example/cube/CubeSceneGraph.cpp Sat Feb 02 19:15:39 2008 +0900 @@ -0,0 +1,13 @@ +#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); +}