Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraphRoot.h @ 792:b480fc04206f draft
add light switch
author | yutaka@localhost.localdomain |
---|---|
date | Sun, 02 May 2010 04:17:34 +0900 |
parents | c0a8af52fa43 |
children | 66497087393d |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.h Thu Apr 29 23:12:48 2010 +0900 +++ b/Renderer/Engine/SceneGraphRoot.h Sun May 02 04:17:34 2010 +0900 @@ -57,11 +57,15 @@ // 光源のオブジェクト SceneGraphPtr light[4]; + int light_switch[4]; + int light_sysswitch; // 光源の疑似 xml file // 光源は4つで決め打ち。 // 4 * lightnum (4) = 16; float light_vector[16]; + + // SceneGraphIterator SceneGraphIteratorPtr iterator; @@ -100,6 +104,8 @@ CameraPtr getCamera(); SceneGraphPtr getLight(int id); float* getLightVector(); + int* getLightSwitch(); + int getLightSysSwitch(); /* Other System API */ void allExecute(int screen_w, int screen_h);