فهرست منبع

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;

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است