setScale() -> setSize()

This commit is contained in:
Casey 2023-10-12 21:48:08 +03:00
parent 302c1bd4cc
commit 895f1595f5
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 1 deletions

View File

@ -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