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 <[email protected]>
This commit is contained in:
HakanandClaude Opus 4.7 committed 2026-05-14 11:12:08 +03:00
1 parent 03555ce8bd
commit def72e435e
5 files changed
+789 -56

No files matched your search

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