diff options
author | Lorenzo Torres <torres@sideros.org> | 2025-03-28 15:34:36 +0100 |
---|---|---|
committer | Lorenzo Torres <torres@sideros.org> | 2025-03-28 15:34:36 +0100 |
commit | ff84d6ac5375587428f279c06ead111301a332ab (patch) | |
tree | a26f32397f66693494ab17187a212cb52729ff3f /src/renderer/c.zig | |
parent | 11f6bc2b04fae03a6e81735d4bcebe9505c5d76d (diff) |
the ECS is now using a more data oriented approach.
By defining archetypes using SOAs (Zig has this data structure in `std`,
called std.MultiArrayList), the engine can iterate faster over commonly
defined entities avoiding cache misses since each component is aligned
with other components of the same entity.
Diffstat (limited to 'src/renderer/c.zig')
0 files changed, 0 insertions, 0 deletions