Mugen87 преди 6 години
родител
ревизия
bde846dec0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 );