gfx-rs / genmesh

A library of mesh generation utilities.
Apache License 2.0
122 stars 29 forks source link

Add ExactSizeIterator for most iterators #64

Closed Veykril closed 4 years ago

Veykril commented 4 years ago

Tried tackling #58 but I wasn't able to figure out a way to actually implement what was being talked about in the issue for now, though while I was at it I did implement ExactSizeIterator for a lot of other simpler iterators if that change is welcome. I also found a few size_hints that seemed to be incorrect or wouldn't track the iterators progressions.