Skip to documentation
SLOP

tiny.geometry.depth_limit

Reference tiny.geometry depth_limit

Defined in tiny.geometry.

Every node sits at a depth below this, and every query stack holds this many entries.

No direct callersNo direct callstiny.geometrydepth limit
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433