Function bevy::core_pipeline::dof::calculate_focal_length
source · pub fn calculate_focal_length(sensor_height: f32, fov: f32) -> f32
Expand description
Given the sensor height and the FOV, returns the focal length.