mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
three: Fix PointLight definition
This commit is contained in:
6
types/three/three-core.d.ts
vendored
6
types/three/three-core.d.ts
vendored
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user