indiantarget / quimeraengine

0 stars 0 forks source link

Add getter to iterators to obtain the position they are pointing to #705

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, some pointer arithmetic is required to get the physical position an 
iterator is pointing to and do some calculations inside containers. This is 
both a readability problem and a performance problem. They could be solved just 
by adding a getter, GetInternalPosition, to every existing iterator.

This task includes the adaptation of all the containers to use this getter 
instead of doing manual calculations.

Original issue reported on code.google.com by Lince3D@gmail.com on 27 Jan 2015 at 12:55

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 28 Jan 2015 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 28 Jan 2015 at 9:25