equal
deleted
inserted
replaced
168 pub fn distort<I: Iterator<Item = u32>>(&mut self, random_numbers: &mut I) { |
168 pub fn distort<I: Iterator<Item = u32>>(&mut self, random_numbers: &mut I) { |
169 loop { |
169 loop { |
170 let old_len = self.total_len(); |
170 let old_len = self.total_len(); |
171 self.divide_edges(random_numbers); |
171 self.divide_edges(random_numbers); |
172 |
172 |
173 if self.total_len() != old_len { |
173 if self.total_len() == old_len { |
174 break; |
174 break; |
175 } |
175 } |
176 } |
176 } |
177 |
177 |
178 self.bezierize(); |
178 self.bezierize(); |