diff Renderer/Engine/SceneGraphRoot.h @ 792:f2497e0ecd7c

add light switch
author yutaka@localhost.localdomain
date Sun, 02 May 2010 04:17:34 +0900
parents 10a8a80c2ea7
children c260205d3185
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);