Mercurial > games > semicongine
diff examples/hello_triangle.nim @ 56:94d7eed3f118
did: cleanup main namespace, add: better coordinate handling in input example
author | Sam <sam@basx.dev> |
---|---|
date | Fri, 20 Jan 2023 00:41:55 +0700 |
parents | 2771db8d4276 |
children | 547f3a374271 |
line wrap: on
line diff
--- a/examples/hello_triangle.nim Thu Jan 19 22:55:56 2023 +0700 +++ b/examples/hello_triangle.nim Fri Jan 20 00:41:55 2023 +0700 @@ -2,15 +2,7 @@ import std/strutils import std/enumerate -import semicongine/engine -import semicongine/math/vector -import semicongine/math/matrix -import semicongine/vertex -import semicongine/descriptor -import semicongine/mesh -import semicongine/thing -import semicongine/shader -import semicongine/buffer +import semicongine type # define type of vertex