|
@@ -4,7 +4,7 @@ import { Light } from './Light';
|
|
|
* @author abelnation / http://github.com/abelnation
|
|
|
*/
|
|
|
|
|
|
-function RectAreaLight ( color, intensity, width, height ) {
|
|
|
+function RectAreaLight( color, intensity, width, height ) {
|
|
|
|
|
|
Light.call( this, color, intensity );
|
|
|
|
|
@@ -21,7 +21,6 @@ function RectAreaLight ( color, intensity, width, height ) {
|
|
|
// TODO (abelnation): update method for RectAreaLight to update transform to lookat target
|
|
|
|
|
|
// TODO (abelnation): shadows
|
|
|
- // this.shadow = new THREE.RectAreaLightShadow( new THREE.PerspectiveCamera( 90, 1, 0.5, 500 ) );
|
|
|
|
|
|
}
|
|
|
|
|
@@ -39,8 +38,6 @@ RectAreaLight.prototype = Object.assign( Object.create( Light.prototype ), {
|
|
|
this.width = source.width;
|
|
|
this.height = source.height;
|
|
|
|
|
|
- // this.shadow = source.shadow.clone();
|
|
|
-
|
|
|
return this;
|
|
|
|
|
|
},
|