Mercurial > games > semicongine
view 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 source
type ShaderInputA = object positions {.VertexAttribute.}: seq[Vec3f] colors {.VertexAttribute.}: seq[Vec3f] transforms {.InstanceAttribute.}: seq[Vec3f] other: bool Enemy = object shaderData: ShaderInputA proc initEnemy()