فهرست منبع

Vector4: I guess z should be 0 when multiplyScalar is 0? Was this a bug in divideScalar?

Mr.doob 10 سال پیش
والد
کامیت
d6edbe1305
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/math/Vector4.js

+ 1 - 1
src/math/Vector4.js

@@ -209,7 +209,7 @@ THREE.Vector4.prototype = {
 			this.x = 0;
 			this.y = 0;
 			this.z = 0;
-			this.w = 1;
+			this.w = 0;
 		}
 
 		return this;