Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 677:24054155368c draft
add Load light info for some spe
author | yutaka@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sun, 06 Dec 2009 07:40:26 +0900 |
parents | 7a311860a76e |
children | 77f936380930 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h Sun Dec 06 01:48:18 2009 +0900 +++ b/Renderer/Engine/SceneGraphRoot.h Sun Dec 06 07:40:26 2009 +0900 @@ -4,7 +4,6 @@ #include "SceneGraph.h" #include "SceneGraphArray.h" #include "Camera.h" -#include "Light.h" #include "SceneGraphIterator.h" #include <sys/types.h> @@ -53,13 +52,15 @@ Camera *camera; // 光源のオブジェクト - Light *light; + SceneGraphPtr light; + // 光源の疑似 xml file + float light_vector[4]; // SceneGraphIterator SceneGraphIteratorPtr iterator; - // fd of Linda taple space - int tid; + // fd of Linda taple space + int tid; /** * Functions @@ -77,7 +78,8 @@ SceneGraphIteratorPtr getIterator(); SceneGraphIteratorPtr getIterator(SceneGraphPtr list); CameraPtr getCamera(); - LightPtr getLight(); + SceneGraphPtr getLight(); + float* getLightVector(); /* Other System API */ void allExecute(int screen_w, int screen_h);