comparison 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
comparison
equal deleted inserted replaced
55:be3ab2619c33 56:94d7eed3f118
1 import std/times 1 import std/times
2 import std/strutils 2 import std/strutils
3 import std/enumerate 3 import std/enumerate
4 4
5 import semicongine/engine 5 import semicongine
6 import semicongine/math/vector
7 import semicongine/math/matrix
8 import semicongine/vertex
9 import semicongine/descriptor
10 import semicongine/mesh
11 import semicongine/thing
12 import semicongine/shader
13 import semicongine/buffer
14 6
15 type 7 type
16 # define type of vertex 8 # define type of vertex
17 VertexDataA = object 9 VertexDataA = object
18 position: PositionAttribute[Vec2[float32]] 10 position: PositionAttribute[Vec2[float32]]