Mercurial > games > semicongine
comparison tests/test_collision.nim @ 813:fb22fd8142b9
fix: tests
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 20 Sep 2023 22:02:20 +0700 |
parents | 7a13941ba204 |
children | f054b8bacab8 |
comparison
equal
deleted
inserted
replaced
812:27346eb7dd37 | 813:fb22fd8142b9 |
---|---|
24 fragmentCode="""fragcolor = colorout;""", | 24 fragmentCode="""fragcolor = colorout;""", |
25 ) | 25 ) |
26 | 26 |
27 var engine = initEngine("Test collisions") | 27 var engine = initEngine("Test collisions") |
28 | 28 |
29 engine.initRenderer({"": shaderConfiguration}) | 29 engine.initRenderer({"default material": shaderConfiguration}) |
30 engine.addScene(scene) | 30 engine.addScene(scene) |
31 | 31 |
32 while engine.updateInputs() == Running and not engine.keyIsDown(Escape): | 32 while engine.updateInputs() == Running and not engine.keyIsDown(Escape): |
33 if engine.windowWasResized(): | 33 if engine.windowWasResized(): |
34 var winSize = engine.getWindow().size | 34 var winSize = engine.getWindow().size |