Sunday, November 20, 2011

bresenham line drawing algorithm implementation in C#

This code snippet is based on the most popular line rendering algorithm displayed at Wikipedia, and exposes an IEnumerable that can be used for graphics or collision detection routines.


No comments: