From c06d6307441d398d1a8e7758ba2bde2c7c1a7fde Mon Sep 17 00:00:00 2001 From: Pontus Horn Date: Sat, 30 Dec 2023 21:18:26 +0100 Subject: [PATCH] SSAOEffect: Mark options as optional in typings In index.d.ts, the `world*` options are not marked as optional in the SSAOEffect constructor, despite being handled as such in the code. This fixes that. --- types/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 2f44e0c96..81ea7d0ab 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -8102,10 +8102,10 @@ declare module "postprocessing" { normalDepthBuffer?: Texture; samples?: number; rings?: number; - worldDistanceThreshold: number; - worldDistanceFalloff: number; - worldProximityThreshold: number; - worldProximityFalloff: number; + worldDistanceThreshold?: number; + worldDistanceFalloff?: number; + worldProximityThreshold?: number; + worldProximityFalloff?: number; distanceThreshold?: number; distanceFalloff?: number; rangeThreshold?: number;