three: Fix PointLight definition

This commit is contained in:
Quinton Lee
2017-08-17 12:50:25 -05:00
committed by GitHub
parent 00f45a01bf
commit e4f40b4033

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.
*/