Mr.doob %!s(int64=7) %!d(string=hai) anos
pai
achega
08ea2852c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/geometries/CylinderGeometry.js

+ 1 - 1
src/geometries/CylinderGeometry.js

@@ -66,7 +66,7 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
 
 	openEnded = openEnded !== undefined ? openEnded : false;
 	thetaStart = thetaStart !== undefined ? thetaStart : 0.0;
-	thetaLength = thetaLength !== undefined ? thetaLength : 2.0 * Math.PI;
+	thetaLength = thetaLength !== undefined ? thetaLength : Math.PI * 2;
 
 	// buffers