Vector3RotateByAxisAngle was not connected.

This commit is contained in:
jussi
2023-05-01 22:38:59 +03:00
parent f7a42189f0
commit cf92c94097
4 changed files with 5 additions and 0 deletions

View File

@@ -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 )