From 3224b0b4247d66fad67702bebc64c1a2710247ae Mon Sep 17 00:00:00 2001 From: Midgard Date: Fri, 28 Jan 2022 22:43:06 +0100 Subject: [PATCH] Remove accidentally remaining argument --- public/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/main.js b/public/main.js index 1f8cbad..7a6e206 100644 --- a/public/main.js +++ b/public/main.js @@ -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;