Procházet zdrojové kódy

QuickHull3: Format

Mugen87 před 8 roky
rodič
revize
0ac2f91f1d
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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;
 
 	},