Hello, I think this calculation would be more correct, this should work with any aspect ratio or field of view