oximedia-virtual 0.1.8

Virtual production and LED wall tools for OxiMedia
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Field of view calculation

use super::LensParameters;

/// FOV calculator
pub struct FovCalculator;

impl FovCalculator {
    /// Calculate FOV from lens parameters
    #[must_use]
    pub fn calculate(params: &LensParameters) -> (f64, f64) {
        (params.horizontal_fov(), params.vertical_fov())
    }
}