Browse Source

Vector4.multiply(): remove unnecessary check

Marco Fugaro 4 years ago
parent
commit
9ac5e15b08
1 changed files with 1 additions and 8 deletions
  1. 1 8
      src/math/Vector4.js

+ 1 - 8
src/math/Vector4.js

@@ -227,14 +227,7 @@ class Vector4 {
 
 	}
 
-	multiply( v, w ) {
-
-		if ( w !== undefined ) {
-
-			console.warn( 'THREE.Vector4: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead.' );
-			return this.multiplyVectors( v, w );
-
-		}
+	multiply( v ) {
 
 		this.x *= v.x;
 		this.y *= v.y;