Explorar el Código

QuickHull3: Format

Mugen87 hace 8 años
padre
commit
0ac2f91f1d
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/math/convexhull/QuickHull3.js

+ 3 - 3
src/math/convexhull/QuickHull3.js

@@ -557,7 +557,7 @@ Object.assign( QuickHull3.prototype, {
 
 			for ( i = 0; i < 4; i ++ ) {
 
-      	this.faces.push( faces[ i ] );
+				this.faces.push( faces[ i ] );
 
 			}
 
@@ -802,9 +802,9 @@ Object.assign( QuickHull3.prototype, {
 
 		// reassign 'unassigned' vertices to the new faces
 
-	 this.resolveUnassignedPoints( this.newFaces );
+		this.resolveUnassignedPoints( this.newFaces );
 
-	 return this;
+		return	this;
 
 	},