Given two points on a grid, draw a line between them, keeping track of which tiles are intersected in the process. This is useful for finding a line of sight for a player in a tile-based 2D game, for example.
Based off this tutorial:
http://playtechs.blogspot.com/2007/03/raytracing-on-grid.html
- Qt >= 5.7.0