Преглед изворни кода

Update kernelRadius type

Fix Inconsistent type on `kernelRadius` to a number. 
The plain version of the SSAOPass.js takes a number type
but it's typed as a `boolean` here.
iamcastelli пре 6 година
родитељ
комит
69d8bc9741
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/jsm/postprocessing/SSAOPass.d.ts

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

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

粤ICP备19079148号