Mercurial > games > semicongine
comparison tests/test_collision.nim @ 352:00231e014642
fix: tests
| author | Sam <sam@basx.dev> |
|---|---|
| date | Wed, 20 Sep 2023 22:02:20 +0700 |
| parents | b83b3a1ccb05 |
| children | f054b8bacab8 |
comparison
equal
deleted
inserted
replaced
| 351:6f61e0bb89b7 | 352:00231e014642 |
|---|---|
| 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 |
