Browse Source

WebGLLight: Removed THREE references.

Mr.doob 8 years ago
parent
commit
1c8aab2c52
1 changed files with 5 additions and 6 deletions
  1. 5 6
      src/renderers/webgl/WebGLLights.js

+ 5 - 6
src/renderers/webgl/WebGLLights.js

@@ -78,11 +78,10 @@ function WebGLLights() {
 
 				case 'RectAreaLight':
 					uniforms = {
-						color: new THREE.Color(),
-						position: new THREE.Vector3(),
-						halfWidth: new THREE.Vector3(),
-						halfHeight: new THREE.Vector3(),
-
+						color: new Color(),
+						position: new Vector3(),
+						halfWidth: new Vector3(),
+						halfHeight: new Vector3()
 						// TODO (abelnation): set RectAreaLight shadow uniforms
 					};
 					break;
@@ -100,4 +99,4 @@ function WebGLLights() {
 }
 
 
-export { WebGLLights };
+export { WebGLLights };