Ben Adams %!s(int64=11) %!d(string=hai) anos
pai
achega
b87346e194
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -219,7 +219,7 @@ THREE.BufferGeometry.prototype = {
 		if ( hasFaceVertexUv2 === true ) {
 
 			var uvs2 = new Float32Array( faces.length * 3 * 2 );
-			this.addAttribute( 'uv2', new THREE.BufferAttribute( uvs, 2 ) );
+			this.addAttribute( 'uv2', new THREE.BufferAttribute( uvs2, 2 ) );
 
 		}
 

粤ICP备19079148号