tiny.geometry.depth_limit
Defined in tiny.geometry.
Every node sits at a depth below this, and every query stack holds this many entries.
Source
Source: lib/geometry/src/bvh.zig:43
zig
/// Every node sits at a depth below this, and every query stack holds this/// many entries. The build spends the slack between a balanced tree's depth/// and this bound on surface area splits, then falls back to median splits,/// which halve the triangle count. A mesh of `max_triangles` needs at most 30/// balanced levels, so the bound always holds.pub const depth_limit = 32;Source: lib/geometry/src/root.zig:35
zig
pub const depth_limit = bvh.depth_limit;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |