Closed Srekel closed 2 years ago
Probably best to just cast there. We need the usize
for all array access which is why the index
field is stored on the iterator.
Ah right and in zig you can't use a signed int as an array index so then you would need casts there instead.
I'm using it like this:
More context:
But this causes this error when using it:
I can of course cast it, but I'm thinking it would be better to match the type that flecs uses?