Subject: [ggl] box_range is not a valid range
Date: 2011-04-30 21:35:38
>Thanks for the report. Indeed, fixed it (for segment_range it was already
>done). Fixed in Trunk.
While wokring out my own box2d_range/box2d_iterator to work around this, I
found ggl's box_iterator is not so lightwigth to be a iterator, fot it
carrying 4 points everywhere.
It may be better to store the 4 points in the box_range, and only store a
pointer to these points and a index in box_iterator. Similar solution also
applies to segment_range/segment_range_iterator.
Geometry list run by mateusz at loskot.net