Added scaling

This commit is contained in:
Dane Johnson
2021-01-20 17:18:39 -06:00
parent 391060d9ba
commit 4955d77de8
4 changed files with 13 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ function init()
trough = couch.TexturedMesh("trough.glb", "wood_lowres.png")
couch.Node.GetRoot().children:Append(trough)
trough.transform:Translate(10.0, 0.0, 0.0)
trough.transform.scale = trough.transform.scale * 3.0
scaffold = couch.TexturedMesh("scaffold.glb", "grate_floor_lowres.png", "railing.png")
couch.Node.GetRoot().children:Append(scaffold)