Rest of mesh management functions.

This commit is contained in:
jussi
2022-05-25 21:52:36 +03:00
parent 44e8b06603
commit 06f9940682
12 changed files with 186 additions and 17 deletions

View File

@@ -45,6 +45,8 @@ Vector2.meta = {
function Vector2:new( x, y )
if type( x ) == "table" then
x, y = table.unpack( x )
elseif type( x ) == "nil" then
x, y = 0, 0
end
local o = {