Jelajahi Sumber

Editor: Clean up

Mugen87 6 tahun lalu
induk
melakukan
bde846dec0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      editor/js/libs/three.html.js

+ 1 - 1
editor/js/libs/three.html.js

@@ -34,7 +34,7 @@
 
  	var texture = new THREE.HTMLTexture( dom );
 
- 	var geometry = new THREE.PlaneGeometry( texture.image.width * 0.05, texture.image.height * 0.05 );
+ 	var geometry = new THREE.PlaneBufferGeometry( texture.image.width * 0.05, texture.image.height * 0.05 );
  	var material = new THREE.MeshBasicMaterial( { map: texture } );
 
  	THREE.Mesh.call( this, geometry, material );