pub const fn audit_mesh_scratch_bytes(triangle_count: usize) -> Option<usize>Expand description
Exact requested scratch bytes for try_audit_mesh.
The bounded implementation stores at most three fixed-size edge records per
source triangle. It may reserve a second buffer of the same size to run a
counting sort instead of a comparison sort, so the bound covers two buffers:
reporting only one would let a caller admit an audit this function then
refuses. None means the count overflows.