Hello, I'm student and I'm working on a wolf3d project with SDL2. I have actually a problem with the final rendering. There is no straight walls with the right formula :
< new distance = wall distance * cos(radian) >
Screen : Student project (Wolf3d) something strange with fisheye effect-strangewalls-jpg

I tried some things, I'm actually locked up with it