Skip to main content

clear_if_all_zeroes

Function clear_if_all_zeroes 

Source
fn clear_if_all_zeroes(coords: &mut SmallVec<[NormalizedCoord; 12]>)
Expand description

Empties coords if every coordinate is zero. This lets the default instance skip variation processing behind a plain is_empty check.