|
@@ -1,17 +1,8 @@
|
|
|
import { Color } from './../math/Color';
|
|
|
import { Light } from './Light';
|
|
|
-import { PerspectiveCamera } from './../cameras/PerspectiveCamera';
|
|
|
-import { LightShadow } from './LightShadow';
|
|
|
-
|
|
|
-export class PointLightShadow extends LightShadow {
|
|
|
-
|
|
|
- camera: PerspectiveCamera;
|
|
|
-
|
|
|
-}
|
|
|
+import { PointLightShadow } from './PointLightShadow';
|
|
|
|
|
|
/**
|
|
|
- * Affects objects using {@link MeshLambertMaterial} or {@link MeshPhongMaterial}.
|
|
|
- *
|
|
|
* @example
|
|
|
* var light = new THREE.PointLight( 0xff0000, 1, 100 );
|
|
|
* light.position.set( 50, 50, 50 );
|
|
@@ -34,7 +25,7 @@ export class PointLight extends Light {
|
|
|
|
|
|
/**
|
|
|
* If non-zero, light will attenuate linearly from maximum intensity at light position down to zero at distance.
|
|
|
- * Default — 0.0.
|
|
|
+ * Default - 0.0.
|
|
|
*/
|
|
|
distance: number;
|
|
|
|