Function qtmComputeFovY

Source
pub unsafe extern "C" fn qtmComputeFovY(
    data: *const QtmTrackingData,
) -> f32
Expand description

Computes an approximation of the vertical angular field of view of the camera based on eye tracking data.

§Arguments

  • data - Eye tracking data, obtained from QTMU_GetTrackingData or QTMU_GetTrackingDataEx.

§Returns

Vertical angular field of view in radians. Corresponds to 51.0 degrees on real hardware.