Explorar el Código

ParametricBufferGeometry: Simplify Code (#9703)

Michael Herzog hace 9 años
padre
commit
698e43e92c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/geometries/ParametricBufferGeometry.js

+ 1 - 1
src/geometries/ParametricBufferGeometry.js

@@ -41,7 +41,7 @@ function ParametricBufferGeometry( func, slices, stacks ) {
 			p = func( u, v );
 			vertices.push( p.x, p.y, p.z );
 
-			uvs.push( j / slices, i / stacks );
+			uvs.push( u, v );
 
 		}