Spatial tree build
Build a query-ready spatial hierarchy over an indexed triangle mesh, with file I/O excluded.

From raw indexed arrays, trueform constructs a query-ready AABB hierarchy over the 1.03M-face dragon in 24.9 ms versus 76.8 ms for MeshLib and 249 ms for CGAL — 3.1× and 10.0× faster. Native mesh conversion and complete tree construction are timed for all three libraries.











