Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/viewer.h @ 562:a5fda4e51498
name search
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 22:22:31 +0900 |
parents | b05bae017029 |
children | f674ca0fb76d |
line wrap: on
line diff
--- a/Renderer/Engine/viewer.h Thu Oct 22 19:31:09 2009 +0900 +++ b/Renderer/Engine/viewer.h Thu Oct 22 22:22:31 2009 +0900 @@ -10,6 +10,8 @@ #include "Application.h" #include "SceneGraphRoot.h" +class SceneGraphRoot; + class Application; class Viewer : public MainLoop { @@ -82,6 +84,16 @@ return sgroot->createSceneGraph(id); } + SceneGraph * createSceneGraph(const char *id) + { + return sgroot->createSceneGraph(id); + } + + int getSgid(const char *id) + { + return sgroot->getSgid(id); + } + SceneGraph * createSceneGraph() { return sgroot->createSceneGraph();