fix leaked globals

This commit is contained in:
airstruck 2015-09-02 18:43:12 -04:00
parent 9458738e11
commit ff33633b56
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ octree.__index = octree
-- TODO: ray-octree intersection - find all nodes a ray intersects with, possibly given a distance limit
-- TODO: ability to store tables would be nice!
function new()
local function new()
local t = {
root = {
size = 1,

View File

@ -4,7 +4,7 @@ local quadtree = {}
quadtree.__index = quadtree
function new()
local function new()
local t = {
root = {
size = 1,