Vec2iExampleCode

From Crumbled World Wiki

Example Code

local a = Vec2(6,8)
local b = a + Vec2i(-2,-2) * 2
print(b.x .. ", " .. b.y)    --print 2, 4