bracket-lib icon indicating copy to clipboard operation
bracket-lib copied to clipboard

Add new bresenham iterator that yield end point

Open indubitablement2 opened this issue 3 years ago • 0 comments

  • Add advance method on Bresenham that return the next point without checking if we are past end. Bresenham iterator use this internally. It could also be used to create infinite line
  • Add BresenhamInclusive which is a wrapper over Bresenham that also return the end point
  • Add BresenhamInclusive to most tests

No breaking change

indubitablement2 avatar Aug 30 '22 12:08 indubitablement2