Mercurial > games > semicongine
diff examples/E03_hello_cube.nim @ 739:5cd6808150fc
did: adjust for small API change
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 03 Jun 2023 13:44:17 +0700 |
parents | dcc12ab20a91 |
children | a4c757f5d17f |
line wrap: on
line diff
--- a/examples/E03_hello_cube.nim Sat Jun 03 13:32:15 2023 +0700 +++ b/examples/E03_hello_cube.nim Sat Jun 03 13:44:17 2023 +0700 @@ -82,7 +82,7 @@ cube.addShaderGlobal("projection", Unit4f32) cube.addShaderGlobal("view", Unit4f32) cube.addShaderGlobal("model", Unit4f32) - myengine.addScene(cube, vertexInput, @[]) + myengine.addScene(cube, vertexInput, @[], transformAttribute="") var t: float32 = cpuTime() while myengine.updateInputs() == Running and not myengine.keyWasPressed(Escape):