Skip to main content

lighting

Function lighting 

Source
pub fn lighting(
    part: &PartView,
    elements: &[PickedElement],
    whole: &BTreeSet<&str>,
) -> Lighting
Expand description

What elements light of part and the parts placed in it, the placed parts whole lit whole. Only the parts an element is of are looked at, so lighting one face of an assembly of thousands of parts is cheap.