Explorar el Código

Fix typo in textureHeight property (#31725)

Nathan Bierema hace 6 meses
padre
commit
6b1b60284f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/webgl_mirror.html

+ 1 - 1
examples/webgl_mirror.html

@@ -91,7 +91,7 @@
 				groundMirror = new Reflector( geometry, {
 				groundMirror = new Reflector( geometry, {
 					clipBias: 0.003,
 					clipBias: 0.003,
 					textureWidth: size.width,
 					textureWidth: size.width,
-					textureHeight: size.heignt,
+					textureHeight: size.height,
 					color: 0xb5b5b5
 					color: 0xb5b5b5
 				} );
 				} );
 				groundMirror.position.y = 0.5;
 				groundMirror.position.y = 0.5;

粤ICP备19079148号