瀏覽代碼

Updated builds.

Mr.doob 4 年之前
父節點
當前提交
7cc1b69b37
共有 3 個文件被更改,包括 19 次插入0 次删除
  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;

文件差異過大導致無法顯示
+ 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;

部分文件因文件數量過多而無法顯示