forked from 1b-agent/opencadstudio-upstream
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:
1 parent
03555ce8bd
commit
def72e435e
5 files changed
+789
-56
No files matched your search
@@ -1,3 +1,5 @@
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
mod app;
|
||||
mod command;
|
||||
mod entities;
|
||||
|
||||
Reference in new issue
Block a user