Browse Source

Fixed webgl_loader_texture_rgbm example.

Mr.doob 4 năm trước cách đây
mục cha
commit
7fbb4a0956
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/webgl_loader_texture_rgbm.html

+ 1 - 1
examples/webgl_loader_texture_rgbm.html

@@ -54,7 +54,7 @@
 
 					const material = new THREE.MeshBasicMaterial( { map: texture } );
 
-					const quad = new THREE.PlaneBufferGeometry( 1.5 * texture.width / texture.height, 1.5 );
+					const quad = new THREE.PlaneBufferGeometry( 1, 1.5 );
 
 					const mesh = new THREE.Mesh( quad, material );