1
0
Mugen87 8 жил өмнө
parent
commit
49328ffb42

+ 4 - 4
src/math/Triangle.js

@@ -187,12 +187,12 @@ Object.assign( Triangle.prototype, {
 
 
 	plane: function ( target ) {
 	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 );
 		return target.setFromCoplanarPoints( this.a, this.b, this.c );
 
 

粤ICP备19079148号