From cf92c94097e1e8ce61a6bc73671be4ee5e229571 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 1 May 2023 22:38:59 +0300 Subject: Vector3RotateByAxisAngle was not connected. --- examples/resources/lib/vector3.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/resources') diff --git a/examples/resources/lib/vector3.lua b/examples/resources/lib/vector3.lua index 2a25a5f..c2a7b10 100644 --- a/examples/resources/lib/vector3.lua +++ b/examples/resources/lib/vector3.lua @@ -45,6 +45,8 @@ Vector3.meta = { function Vector3:new( x, y, z ) if type( x ) == "table" then x, y, z = table.unpack( x ) + elseif type( x ) == "nil" then + x, y, z = 0, 0, 0 end local object = setmetatable( {}, Vector3.meta ) -- cgit v1.2.3