Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 597:5c5cd31b9d43
add Light Object
author | yutaka@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 05 Nov 2009 20:17:59 +0900 |
parents | 7cbffb81e214 |
children | d0b8860c17f8 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h Wed Nov 04 22:52:06 2009 +0900 +++ b/Renderer/Engine/SceneGraphRoot.h Thu Nov 05 20:17:59 2009 +0900 @@ -4,6 +4,7 @@ #include "SceneGraph.h" #include "SceneGraphArray.h" #include "Camera.h" +#include "Light.h" #include "SceneGraphIterator.h" #include <sys/types.h> @@ -51,6 +52,9 @@ // カメラオブジェクト Camera *camera; + // 光源のオブジェクト + Light *light; + // SceneGraphIterator SceneGraphIteratorPtr iterator; @@ -73,6 +77,7 @@ SceneGraphIteratorPtr getIterator(); SceneGraphIteratorPtr getIterator(SceneGraphPtr list); CameraPtr getCamera(); + LightPtr getLight(); /* Other System API */ void allExecute(int screen_w, int screen_h);