Mercurial > games > semicongine
comparison examples/hello_cube.nim @ 501:e89fceb5a3a2
did: rename project
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 18 Jan 2023 13:52:48 +0700 |
parents | 8025ab67d931 |
children | 94d7eed3f118 |
comparison
equal
deleted
inserted
replaced
500:8025ab67d931 | 501:e89fceb5a3a2 |
---|---|
10 # | 10 # |
11 import std/times | 11 import std/times |
12 import std/strutils | 12 import std/strutils |
13 import std/enumerate | 13 import std/enumerate |
14 | 14 |
15 import zamikongine/engine | 15 import semicongine/engine |
16 import zamikongine/math/vector | 16 import semicongine/math/vector |
17 import zamikongine/math/matrix | 17 import semicongine/math/matrix |
18 import zamikongine/vertex | 18 import semicongine/vertex |
19 import zamikongine/descriptor | 19 import semicongine/descriptor |
20 import zamikongine/mesh | 20 import semicongine/mesh |
21 import zamikongine/thing | 21 import semicongine/thing |
22 import zamikongine/shader | 22 import semicongine/shader |
23 import zamikongine/buffer | 23 import semicongine/buffer |
24 | 24 |
25 type | 25 type |
26 # define type of vertex | 26 # define type of vertex |
27 VertexDataA = object | 27 VertexDataA = object |
28 position: PositionAttribute[Vec3[float32]] | 28 position: PositionAttribute[Vec3[float32]] |