Explorar o código

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

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
d6edbe1305
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;