浏览代码

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;

部分文件因为文件数量过多而无法显示