smooth camera
This commit is contained in:
@@ -2,7 +2,7 @@ Point = {}
|
||||
Point.__index = Point
|
||||
|
||||
function Point:new(x, y)
|
||||
local o = { x = x, y = y }
|
||||
local o = { x = x or 0, y = y or 0 }
|
||||
setmetatable(o, self)
|
||||
return o
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user