From 25be54cdcf7409b5da0528cc5debb742ea1cf9c9 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 5 Jan 2021 01:25:55 -0600 Subject: [PATCH] Woops remove Z arg from vec2 util --- scripts/shared/native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/shared/native.js b/scripts/shared/native.js index bda95355..e8e8f2a7 100644 --- a/scripts/shared/native.js +++ b/scripts/shared/native.js @@ -37,8 +37,8 @@ function toVector3(x, y, z) { // --------------------------------------------------------------------------- -function toVector2(x, y, z) { - return new Vec2(x, y, z); +function toVector2(x, y) { + return new Vec2(x, y); } // ---------------------------------------------------------------------------