This is a small project which I then used to create my 3D ray casting project here. The point of this project was to familiarize myself with the behavior of rays in a 2D environment. Here rays shine out all the way until they hit a wall, the blue lines, and draws a red dot on each ray intersection.
- SDL2 developer library needs to be installed
- Linux: sudo apt-get install libsdl2-dev
- Windows: Tutorial
Then in cloned directory:
- Build: make