diff 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
line wrap: on
line diff
--- a/test2.nim	Wed Jun 19 09:17:24 2024 +0700
+++ b/test2.nim	Wed Jun 19 13:50:18 2024 +0700
@@ -15,12 +15,12 @@
     positions: seq[Vec3f]
     colors: seq[Vec3f]
     transparency: float32
-  ArrayData = object
+  InstanceDataA = object
     transforms: seq[Vec3f]
 
   Enemy = object
     mesh: MeshA
-    enemies: ArrayData
+    enemies: InstanceDataA
 
 let e = Enemy()
 echo e