Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 565:2e1b6c5e4f8f
linda API
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 23:45:05 +0900 |
parents | a5fda4e51498 |
children | 0f13810d4492 |
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;