Mercurial > games > semicongine
comparison examples/hello_triangle.nim @ 501:e89fceb5a3a2
did: rename project
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 18 Jan 2023 13:52:48 +0700 |
parents | 3f1111f3b9f8 |
children | 836790efab48 |
comparison
equal
deleted
inserted
replaced
500:8025ab67d931 | 501:e89fceb5a3a2 |
---|---|
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 zamikongine/engine | 5 import semicongine/engine |
6 import zamikongine/math/vector | 6 import semicongine/math/vector |
7 import zamikongine/math/matrix | 7 import semicongine/math/matrix |
8 import zamikongine/vertex | 8 import semicongine/vertex |
9 import zamikongine/descriptor | 9 import semicongine/descriptor |
10 import zamikongine/mesh | 10 import semicongine/mesh |
11 import zamikongine/thing | 11 import semicongine/thing |
12 import zamikongine/shader | 12 import semicongine/shader |
13 import zamikongine/buffer | 13 import semicongine/buffer |
14 | 14 |
15 type | 15 type |
16 # define type of vertex | 16 # define type of vertex |
17 VertexDataA = object | 17 VertexDataA = object |
18 position: PositionAttribute[Vec2[float32]] | 18 position: PositionAttribute[Vec2[float32]] |