Browse Source

Triangle: Clean up

Mugen87 7 years ago
parent
commit
49328ffb42
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/math/Triangle.js

+ 4 - 4
src/math/Triangle.js

@@ -187,12 +187,12 @@ Object.assign( Triangle.prototype, {
 
 	plane: function ( target ) {
 
-	if ( target === undefined ) {
+		if ( target === undefined ) {
 
-		console.warn( 'THREE.Triangle: .plane() target is now required' );
-		target = new Vector3();
+			console.warn( 'THREE.Triangle: .plane() target is now required' );
+			target = new Vector3();
 
-	}
+		}
 
 		return target.setFromCoplanarPoints( this.a, this.b, this.c );