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

Fix typo in textureHeight property (#31725)

Nathan Bierema пре 7 месеци
родитељ
комит
6b1b60284f
1 измењених фајлова са 1 додато и 1 уклоњено
  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号