Ver Fonte

Updated builds.

Mr.doob há 4 anos atrás
pai
commit
7cc1b69b37
3 ficheiros alterados com 19 adições e 0 exclusões
  1. 8 0
      build/three.js
  2. 0 0
      build/three.min.js
  3. 11 0
      build/three.module.js

+ 8 - 0
build/three.js

@@ -1637,6 +1637,14 @@
 			return this;
 		};
 
+		_proto.multiply = function multiply(v) {
+			this.x *= v.x;
+			this.y *= v.y;
+			this.z *= v.z;
+			this.w *= v.w;
+			return this;
+		};
+
 		_proto.multiplyScalar = function multiplyScalar(scalar) {
 			this.x *= scalar;
 			this.y *= scalar;

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
build/three.min.js


+ 11 - 0
build/three.module.js

@@ -1958,6 +1958,17 @@ class Vector4 {
 
 	}
 
+	multiply( v ) {
+
+		this.x *= v.x;
+		this.y *= v.y;
+		this.z *= v.z;
+		this.w *= v.w;
+
+		return this;
+
+	}
+
 	multiplyScalar( scalar ) {
 
 		this.x *= scalar;

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff