This commit is contained in:
Matthias Richter 2018-04-08 14:37:02 +02:00
parent 7cac6db548
commit 358c7a80b5

View File

@ -29,6 +29,7 @@ if not (type(common) == 'table' and common.class and common.instance) then
require(_PACKAGE .. '.class')
common_local, common = common, common_local
end
local vector = require(_PACKAGE .. '.vector-light')
local Spatialhash = {}
function Spatialhash:init(cell_size)
@ -199,4 +200,4 @@ function Spatialhash:draw(how, show_empty, print_key)
end
end
return common_local.class('Spatialhash', Spatialhash)
return common_local.class('Spatialhash', Spatialhash)