Raymarcher written with gloss-raster and Accelerate.
Install stack
using GHCUp, then
sudo apt install freeglut3-dev llvm-12
cd raymarcher
stack build
Then use stack run
to run the program.
- 'w', 'a', 's', 'd' : move forward/backward/left/right
- 'h', 'l' : turn left/right
- left/right arrow : change light direction