fix leaked globals
This commit is contained in:
parent
9458738e11
commit
ff33633b56
@ -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,
|
||||
|
@ -4,7 +4,7 @@ local quadtree = {}
|
||||
|
||||
quadtree.__index = quadtree
|
||||
|
||||
function new()
|
||||
local function new()
|
||||
local t = {
|
||||
root = {
|
||||
size = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user