Merge pull request #6 from airstruck/master

fix leaked globals
This commit is contained in:
Landon Manning 2015-09-02 19:47:26 -03:00
commit dff84e229e
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,