Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 575:341f1f881a9b draft
Linda API worked. (slightly unreliable)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 23 Oct 2009 15:53:24 +0900 |
parents | 5193d51294a2 |
children | ec9dd24c2dc8 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h Fri Oct 23 14:02:33 2009 +0900 +++ b/Renderer/Engine/SceneGraphRoot.h Fri Oct 23 15:53:24 2009 +0900 @@ -5,10 +5,6 @@ #include "SceneGraphArray.h" #include "Camera.h" #include "SceneGraphIterator.h" -// #include "Application.h" -#include "SceneGraphList.h" -#include "SgStruct.h" -// #include "TaskManager.h" #include <sys/types.h> typedef struct { @@ -27,12 +23,10 @@ /* Variables */ TaskManager *tmanager; - // sgid と name を持った SgStruct のリスト - SceneGraphList *sglist; - // xml から読み込んだ、オリジナルの SceneGraph - SceneGraphPtr *sg_src; - int sg_src_length; + // Static Singleton + // SceneGraphPtr *sg_src; + // int sg_src_length; // move, collision 用の SceneGraph (tree) SceneGraphPtr sg_exec_tree; @@ -96,9 +90,7 @@ void addNext(SceneGraphPtr sg); void allRemove(SceneGraphPtr list); - int getLast() { - return sglist->getLast()->id; - } + int getLast() ; };