all: rename mach.Entity.Mod -> mach.Entities.Mod
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
11ebce62a3
commit
541ce9e7c0
18 changed files with 69 additions and 69 deletions
|
|
@ -65,7 +65,7 @@ fn update(core: *mach.Core.Mod, text: *Mod, text_pipeline: *gfx.TextPipeline.Mod
|
|||
} },
|
||||
} });
|
||||
while (archetypes_iter.next()) |archetype| {
|
||||
const ids = archetype.slice(.entity, .id);
|
||||
const ids = archetype.slice(.entities, .id);
|
||||
const built_pipelines = archetype.slice(.mach_gfx_text_pipeline, .built);
|
||||
for (ids, built_pipelines) |pipeline_id, *built| {
|
||||
try updatePipeline(core, text, text_pipeline, pipeline_id, built);
|
||||
|
|
@ -106,7 +106,7 @@ fn updatePipeline(
|
|||
} },
|
||||
} });
|
||||
while (archetypes_iter.next()) |archetype| {
|
||||
const ids = archetype.slice(.entity, .id);
|
||||
const ids = archetype.slice(.entities, .id);
|
||||
const transforms = archetype.slice(.mach_gfx_text, .transform);
|
||||
const segment_slices = archetype.slice(.mach_gfx_text, .text);
|
||||
const style_slices = archetype.slice(.mach_gfx_text, .style);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue