Mercurial > games > semicongine
comparison examples/E04_input.nim @ 271:95281f2db400
did: fix API changes broke examples
| author | Sam <sam@basx.dev> |
|---|---|
| date | Tue, 30 May 2023 16:58:35 +0700 |
| parents | ad078e26a1c7 |
| children | da0bd61abe91 |
comparison
equal
deleted
inserted
replaced
| 270:563ca4a82931 | 271:95281f2db400 |
|---|---|
| 1 import std/enumerate | 1 import std/enumerate |
| 2 import std/typetraits | 2 import std/typetraits |
| 3 import std/math | 3 import std/math |
| 4 | 4 |
| 5 import semicongine | 5 import ../src/semicongine |
| 6 | 6 |
| 7 const | 7 const |
| 8 arrow = @[ | 8 arrow = @[ |
| 9 newVec3f(-1, -1), | 9 newVec3f(-1, -1), |
| 10 newVec3f(1, -1), | 10 newVec3f(1, -1), |
