forked from hkc/cc-stuff
setScale() -> setSize()
This commit is contained in:
parent
302c1bd4cc
commit
895f1595f5
|
@ -14,7 +14,7 @@ return function()
|
|||
if cache[id] == nil then
|
||||
cache[id] = {}
|
||||
cache[id].cube = canvas3d.addBox(0, 0, 0)
|
||||
cache[id].cube.setScale(0.5, 0.5, 0.5)
|
||||
cache[id].cube.setSize(0.5, 0.5, 0.5)
|
||||
cache[id].frame = canvas3d.addFrame({ 0, 0, 0 })
|
||||
cache[id].text = cache[id].frame.addText({ 0, 0 }, "")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue