From 358c7a80b5ce525f7fd931db8c373091f97e3f68 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Sun, 8 Apr 2018 14:37:02 +0200 Subject: [PATCH] Fix #48 --- spatialhash.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spatialhash.lua b/spatialhash.lua index 384db8b..123e1d0 100644 --- a/spatialhash.lua +++ b/spatialhash.lua @@ -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) \ No newline at end of file +return common_local.class('Spatialhash', Spatialhash)