Remove accidentally remaining argument

This commit is contained in:
Midgard 2022-01-28 22:43:06 +01:00
parent e14feac2e8
commit 3224b0b424
Signed by: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -69,7 +69,7 @@
return this.dot(this);
};
Vector.prototype.norm = function() {
return Math.sqrt(this.normSquared(this));
return Math.sqrt(this.normSquared());
};
Vector.prototype.distance_squared = function(other) {
var diffX = this.x - other.x;