Merge pull request #19085 from sirDonovan/three

three: Fix PointLight definition
This commit is contained in:
Bowden Kelly
2017-08-22 11:43:44 -07:00
committed by GitHub
+5 -1
View File
@@ -1987,10 +1987,14 @@ export class PointLight extends Light {
distance: number;
decay: number;
shadow: LightShadow;
shadow: PointLightShadow;
power: number;
}
export class PointLightShadow extends LightShadow {
camera: PerspectiveCamera;
}
/**
* A point light that can cast shadow in one direction.
*/