salva2d::helper
pub fn filter_from_mask<T: Copy>(mask: &[bool], vec: &mut Vec<T>)
Deletes from vec only the element i such that the corresponding mask[i] is true.
vec
i
mask[i]
true