Hi :)
(I don't know if this is the right place to ask this)
I've been making a small raycaster with C recently. but there is a really annoying bug I'm facing.
(you can see it in the video)
I checked my DDA render() function many times but i couldn't find any bugs.
If you have enough experience in this topic, help would be really appreciated :)
Full Code: https://github.com/proh14/pdoom (sorry for the un-clean code i was frustrated so i kept everything in a single file and wrote some dirty code 😢)
Lodev article on raycasters: https://lodev.org/cgtutor/raycasting.html
(Its easy to build just get sdl3 and build it with make)
GitHub
Contribute to proh14/pdoom development by creating an account on GitHub.