2
0
Эх сурвалжийг харах

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

Mr.doob 10 жил өмнө
parent
commit
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;