perf(scene): cache block defns + batch wires by style

Tessellates each block_record once into local-coord LocalWires; Insert
references transform-copy + ByBlock-resolve the cache rather than
explode+re-tessellate per reference. Same-style wires inside one Insert
are NaN-batched into a single WireModel to keep wgpu buffer counts
sane — large blocks that previously bailed to a marker now render in
a handful of buffers each.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Hakan 2026-05-14 11:12:08 +03:00
commit def72e435e
5 changed files with 789 additions and 56 deletions

View file

@ -1,3 +1,5 @@
#![allow(non_snake_case)]
mod app;
mod command;
mod entities;