use focal length instead
glouw opened this issue · 0 comments
glouw commented
fov.a.x can be used instead:
https://github.com/yellingintothefan/water/blob/0e3ebf69d93d974ab0d08b48992723d11eaffb5a/Sdl.c#L60
https://github.com/yellingintothefan/water/blob/0e3ebf69d93d974ab0d08b48992723d11eaffb5a/Sdl.c#L64
https://github.com/yellingintothefan/water/blob/0e3ebf69d93d974ab0d08b48992723d11eaffb5a/Projection.c#L5
this can be removed altogether - the floor caster will be in scanline:
https://github.com/yellingintothefan/water/blob/0e3ebf69d93d974ab0d08b48992723d11eaffb5a/Line.c#L21