Skip to main content

scene_boxes

Function scene_boxes 

Source
pub fn scene_boxes(parts: &[Part], ids: &[&str]) -> Vec<Aabb>
Expand description

The boxes among parts (as a machine draws them in its scene) whose id is one of ids, turned or not: what Machine::collision_bodies takes for the parts that move with the tool. A machine passes only the parts it needs: drawing the whole scene every base step made the live check about three times as slow as the run without it.