Skip to main content

depth_sort_nodes

Function depth_sort_nodes 

Source
pub fn depth_sort_nodes(nodes: &mut [Node3], cam: &Camera)
Available on crate feature raster only.
Expand description

Stable painter’s depth sort for node discs: farthest-first on each node’s own center depth. Separate from depth_sort so the existing (faces, struts) signature (and its golden-pinned behaviour) is untouched; nodes are drawn after faces/struts in both raster tiers so an annotation dot at exactly equal depth wins its subcell. Bounded: one pass over a finite slice.