I also replaced the trigonometry for width calculation with Pythagoras; this was mostly for debugging and seeing if I could simplify some of the math, but it should be slightly more efficient anyway so I left this change in.
This is a significant improvement for me on a Neo G9 at 75CM (49" 32:9 R1000), changing hFov from 77deg to 89deg; there's probably a matter of preference and just plain what people are used to, especially as - like flat monitors - the theoretically vFov changes left-to-right - but this gives people the option.
With option off, previous values are returned.
Fixes https://github.com/dinex86/FOV-Calculator/issues/9
I also replaced the trigonometry for width calculation with Pythagoras; this was mostly for debugging and seeing if I could simplify some of the math, but it should be slightly more efficient anyway so I left this change in.
This is a significant improvement for me on a Neo G9 at 75CM (49" 32:9 R1000), changing hFov from 77deg to 89deg; there's probably a matter of preference and just plain what people are used to, especially as - like flat monitors - the theoretically vFov changes left-to-right - but this gives people the option.