Mercurial > games > semicongine
comparison examples/alotof_triangles.nim @ 517:836790efab48
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 | e89fceb5a3a2 |
children | 547f3a374271 |
comparison
equal
deleted
inserted
replaced
516:fe0cad0ecf67 | 517:836790efab48 |
---|---|
2 import std/strutils | 2 import std/strutils |
3 import std/math | 3 import std/math |
4 import std/random | 4 import std/random |
5 import std/enumerate | 5 import std/enumerate |
6 | 6 |
7 import semicongine/engine | 7 import semicongine |
8 import semicongine/math/vector | |
9 import semicongine/math/matrix | |
10 import semicongine/vertex | |
11 import semicongine/descriptor | |
12 import semicongine/mesh | |
13 import semicongine/thing | |
14 import semicongine/shader | |
15 | 8 |
16 type | 9 type |
17 VertexDataA = object | 10 VertexDataA = object |
18 position11: PositionAttribute[Vec2[float32]] | 11 position11: PositionAttribute[Vec2[float32]] |
19 color22: ColorAttribute[Vec3[float32]] | 12 color22: ColorAttribute[Vec3[float32]] |