annotate examples/hello_triangle.nim @ 12:9e5fe647ff91

did: cleanup up a bit
author Sam <sam@basx.dev>
date Tue, 27 Dec 2022 20:47:48 +0700
parents examples/test.nim@213fdf8d31dd
children b55d6ecde79d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
1 import engine
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
2
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
3
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
4 when isMainModule:
2
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 0
diff changeset
5 var myengine = igniteEngine()
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
6 myengine.fullThrottle()
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
7 myengine.trash()