Browse Source

CircleBufferGeometry: Clean up.

Mr.doob 9 years ago
parent
commit
a0217dbd87
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/extras/geometries/CircleBufferGeometry.js

+ 1 - 3
src/extras/geometries/CircleBufferGeometry.js

@@ -50,9 +50,7 @@ THREE.CircleBufferGeometry = function ( radius, segments, thetaStart, thetaLengt
 
 	for ( var i = 1; i <= segments; i ++ ) {
 
-		indices.push( i );
-		indices.push( i + 1 );
-		indices.push( 0 );
+		indices.push( i, i + 1, 0 );
 
 	}