瀏覽代碼

Update webgl_mirror.html

Michael Herzog 11 月之前
父節點
當前提交
3c3cf90615
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgl_mirror.html

+ 1 - 1
examples/webgl_mirror.html

@@ -102,7 +102,7 @@
 				verticalMirror = new Reflector( geometry, {
 				verticalMirror = new Reflector( geometry, {
 					clipBias: 0.003,
 					clipBias: 0.003,
 					textureWidth: size.width,
 					textureWidth: size.width,
-					textureHeight: size.heignt,
+					textureHeight: size.height,
 					color: 0xc1cbcb
 					color: 0xc1cbcb
 				} );
 				} );
 				verticalMirror.position.y = 50;
 				verticalMirror.position.y = 50;

粤ICP备19079148号