Browse Source

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

Mr.doob 9 years ago
parent
commit
d6edbe1305
1 changed files with 1 additions and 1 deletions
  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;