Browse Source

Merge pull request #18645 from Sowed/dev

TS: Fix Inconsistent types on SSAOPass params
Mr.doob 5 năm trước cách đây
mục cha
commit
f405a59cbe
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/jsm/postprocessing/SSAOPass.d.ts

+ 2 - 2
examples/jsm/postprocessing/SSAOPass.d.ts

@@ -21,8 +21,8 @@ export class SSAOPass extends Pass {
 	width: number;
 	height: boolean;
 	clear: boolean;
-	kernelRadius: boolean;
-	kernelSize: boolean;
+	kernelRadius: number;
+	kernelSize: number;
 	kernel: Vector3[];
 	noiseTexture: DataTexture;
 	output: number;