Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraphRoot.cc @ 558:00428ba0ba03 draft
boss1_action
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 18:38:07 +0900 |
parents | dc59679d9a36 |
children | d65f21b18165 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc Thu Oct 22 17:34:12 2009 +0900 +++ b/Renderer/Engine/SceneGraphRoot.cc Thu Oct 22 18:38:07 2009 +0900 @@ -10,6 +10,8 @@ static int cnt = 0; +SceneGraphRoot *sgroot; + #define SGLIST_INIT_LENGTH 128 SceneGraphRoot::SceneGraphRoot(float w, float h) @@ -29,6 +31,7 @@ // 今はとりあえず camera を Root にしています // 今はそれすらもしてません //sg_exec_tree = camera; + sgroot = this; } SceneGraphRoot::~SceneGraphRoot()