Explorar o código

Update kernelSize type

Fix Inconsistent type on `kernelSize` to a number. 
The plain version of the SSAOPass.js takes a number type
but it's typed as a `boolean` here.
iamcastelli %!s(int64=5) %!d(string=hai) anos
pai
achega
8ba1432eac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/jsm/postprocessing/SSAOPass.d.ts

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

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