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); } // ---------------------------------------------------------------------------