Flatten a Village aggregate into a render model. All catalog lookups happen
here, once, so renderers stay free of engine internals. Output is sorted
deterministically (buildings by id, walls by position) so renders are stable
and snapshot-testable. Each wall is enriched with its neighbour connections
and a shape, so renderers can draw connected runs and corners.
Flatten a
Villageaggregate into a render model. All catalog lookups happen here, once, so renderers stay free of engine internals. Output is sorted deterministically (buildings by id, walls by position) so renders are stable and snapshot-testable. Each wall is enriched with its neighbour connections and a shape, so renderers can draw connected runs and corners.