Mercurial > games > semicongine
comparison test2.nim @ 1161:dbca0528c714 compiletime-tests
add: more stuff
author | sam <sam@basx.dev> |
---|---|
date | Wed, 19 Jun 2024 13:50:18 +0700 |
parents | 836dc1eda5e3 |
children |
comparison
equal
deleted
inserted
replaced
1160:836dc1eda5e3 | 1161:dbca0528c714 |
---|---|
13 type | 13 type |
14 MeshA = object | 14 MeshA = object |
15 positions: seq[Vec3f] | 15 positions: seq[Vec3f] |
16 colors: seq[Vec3f] | 16 colors: seq[Vec3f] |
17 transparency: float32 | 17 transparency: float32 |
18 ArrayData = object | 18 InstanceDataA = object |
19 transforms: seq[Vec3f] | 19 transforms: seq[Vec3f] |
20 | 20 |
21 Enemy = object | 21 Enemy = object |
22 mesh: MeshA | 22 mesh: MeshA |
23 enemies: ArrayData | 23 enemies: InstanceDataA |
24 | 24 |
25 let e = Enemy() | 25 let e = Enemy() |
26 echo e | 26 echo e |
27 | 27 |
28 let w = CreateWindow("test2") | 28 let w = CreateWindow("test2") |