42 Project about drawing wireframe.
This project uses the minilibx from : https://github.com/42Paris/minilibx-linux
It need libx11-dev libxext-dev to be installed
and my own lib : https://github.com/app-gitKaiwho/libft
It work on mac, linux and can be tested on windows if you use the lastest version of WSL
After compiling, use "./fdf mapname.fdf".
Usable map stored under ./test_maps are used (same goes if you want to create a new one)
I used Raycasting (which was i belive unusefully complex for this project) even if in the end the raycast calcultion is nothing more than similar triangles formula
One big issue with my code :
For an easy coloring based on height, every single pixel is casted after lines are being drawn, and not before which causes bad performance on big maps, may correct later