Mercurial > games > semicongine
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test2.nim Mon Jun 17 22:21:59 2024 +0700 @@ -0,0 +1,10 @@ +type + ShaderInputA = object + positions {.VertexAttribute.}: seq[Vec3f] + colors {.VertexAttribute.}: seq[Vec3f] + transforms {.InstanceAttribute.}: seq[Vec3f] + other: bool + Enemy = object + shaderData: ShaderInputA + +proc initEnemy()