diff --git a/fractional/src/geometry.rs b/fractional/src/geometry.rs index 00dad89..b3cdfcd 100644 --- a/fractional/src/geometry.rs +++ b/fractional/src/geometry.rs @@ -375,11 +375,6 @@ where T: Add + Sub + Neg None }}; - let mut ps :Vec<(Polygon, u32)> = self.faces.iter() - . filter_map(to_poly).collect(); - // this sorts by the color value which is no longer neccessary as soon - // as the z-buffer is complete. - ps.sort_by(|a, b| a.1.cmp(&b.1)); - ps + self.faces.iter().filter_map(to_poly).collect() } }