Explorar o código

Fixed webgl_loader_texture_rgbm example.

Mr.doob %!s(int64=4) %!d(string=hai) anos
pai
achega
7fbb4a0956
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 );