Function qtmComputeFovX

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

Computes an approximation of the horizontal 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

Horizontal angular field of view in radians. Corresponds to 64.9 degrees on real hardware.