Browse Source

Merge pull request #10088 from aardgoose/rectarealight-tidy

remove obsolete elements and comments
Mr.doob 8 years ago
parent
commit
9b5f018ad3
1 changed files with 5 additions and 12 deletions
  1. 5 12
      src/renderers/shaders/UniformsLib.js

+ 5 - 12
src/renderers/shaders/UniformsLib.js

@@ -147,19 +147,12 @@ var UniformsLib = {
 		} },
 
         // TODO (abelnation): RectAreaLight BRDF data needs to be moved from example to main src
-        rectAreaLights: { type: "sa", value: [], properties: {
-            color: { type: "c" },
-            position: { type: "v3" },
-            width: { type: "v3" },
-            height: { type: "v3" },
+        rectAreaLights: { value: [], properties: {
+            color: {},
+            position: {},
+            width: {},
+            height: {},
         } }
-        // rectAreaLights: { type: "sa", value: [], properties: {
-        //     color: { type: "c" },
-        //     position: { type: "v3" },
-        //     width: { type: "1f" },
-        //     height: { type: "1f" },
-        //     rotationMatrix: { type: "m4" }
-        // } },
 
 	},