Skip to content

mitchcurtis/grid-line-intersection

Repository files navigation

grid-line-intersection

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

grid-line-intersection screenshot

Dependencies

  • Qt >= 5.7.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published