소스 검색

Fixed webgl_loader_texture_rgbm example.

Mr.doob 4 년 전
부모
커밋
7fbb4a0956
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );