Remove accidentally remaining argument
This commit is contained in:
parent
e14feac2e8
commit
3224b0b424
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
return this.dot(this);
|
return this.dot(this);
|
||||||
};
|
};
|
||||||
Vector.prototype.norm = function() {
|
Vector.prototype.norm = function() {
|
||||||
return Math.sqrt(this.normSquared(this));
|
return Math.sqrt(this.normSquared());
|
||||||
};
|
};
|
||||||
Vector.prototype.distance_squared = function(other) {
|
Vector.prototype.distance_squared = function(other) {
|
||||||
var diffX = this.x - other.x;
|
var diffX = this.x - other.x;
|
||||||
|
|
Loading…
Reference in a new issue