diff Renderer/Engine/SceneGraphRoot.h @ 565:5193d51294a2 draft

linda API
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 23:45:05 +0900
parents d65f21b18165
children 341f1f881a9b
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h	Thu Oct 22 23:07:16 2009 +0900
+++ b/Renderer/Engine/SceneGraphRoot.h	Thu Oct 22 23:45:05 2009 +0900
@@ -95,6 +95,11 @@
     void addSceneGraphList(TaskManager *manager, SceneGraphPtr tmp);
     void addNext(SceneGraphPtr sg);
     void allRemove(SceneGraphPtr list);
+
+    int getLast() {
+	return sglist->getLast()->id;
+    }
+
 };
 
 typedef SceneGraphRoot *SceneGraphRootPtr;