annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1159
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
1 type
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
2 ShaderInputA = object
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
3 positions {.VertexAttribute.}: seq[Vec3f]
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
4 colors {.VertexAttribute.}: seq[Vec3f]
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
5 transforms {.InstanceAttribute.}: seq[Vec3f]
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
6 other: bool
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
7 Enemy = object
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
8 shaderData: ShaderInputA
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
9
e7cbb13999e4 add: changes and static tools
sam <sam@basx.dev>
parents:
diff changeset
10 proc initEnemy()