Mercurial > games > semicongine
diff examples/E03_hello_cube.nim @ 253:ad078e26a1c7
fix: API changes
author | sam <sam@basx.dev> |
---|---|
date | Wed, 24 May 2023 01:31:21 +0700 |
parents | f3912838cd69 |
children | 95281f2db400 |
line wrap: on
line diff
--- a/examples/E03_hello_cube.nim Wed May 24 01:31:02 2023 +0700 +++ b/examples/E03_hello_cube.nim Wed May 24 01:31:21 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, @[]) var t: float32 = cpuTime() while myengine.updateInputs() == Running and not myengine.keyWasPressed(Escape):