forked from hkc/cc-stuff
for some reason some coordinates are a table
This commit is contained in:
parent
9be160eded
commit
f2ac312ff0
|
@ -12,7 +12,7 @@ return function()
|
||||||
if cache[i] == nil then
|
if cache[i] == nil then
|
||||||
cache[i] = {}
|
cache[i] = {}
|
||||||
cache[i].cube = canvas3d.addBox(0, 0, 0)
|
cache[i].cube = canvas3d.addBox(0, 0, 0)
|
||||||
cache[i].frame = canvas3d.addFrame(0, 0, 0)
|
cache[i].frame = canvas3d.addFrame({ 0, 0, 0 })
|
||||||
cache[i].text = cache[i].frame.addText({ 0, 0 }, "")
|
cache[i].text = cache[i].frame.addText({ 0, 0 }, "")
|
||||||
|
|
||||||
cache[i].cube.setDepthTested(false)
|
cache[i].cube.setDepthTested(false)
|
||||||
|
|
Loading…
Reference in New Issue