Mercurial > games > semicongine
comparison test2.nim @ 1159:e7cbb13999e4 compiletime-tests
add: changes and static tools
author | sam <sam@basx.dev> |
---|---|
date | Mon, 17 Jun 2024 22:21:59 +0700 |
parents | |
children | 836dc1eda5e3 |
comparison
equal
deleted
inserted
replaced
1158:f32359ffd882 | 1159:e7cbb13999e4 |
---|---|
1 type | |
2 ShaderInputA = object | |
3 positions {.VertexAttribute.}: seq[Vec3f] | |
4 colors {.VertexAttribute.}: seq[Vec3f] | |
5 transforms {.InstanceAttribute.}: seq[Vec3f] | |
6 other: bool | |
7 Enemy = object | |
8 shaderData: ShaderInputA | |
9 | |
10 proc initEnemy() |