diff Renderer/Engine/SceneGraphRoot.h @ 575:0f13810d4492

Linda API worked. (slightly unreliable)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 23 Oct 2009 15:53:24 +0900
parents 2e1b6c5e4f8f
children da82a47ece92
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() ;
 
 };