Function qtmComputeInverseAspectRatio

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

Computes a rough approximation of the inverse of the aspect ration of the camera based on eye tracking data.

§Arguments

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

§Returns

Rough approximation of the inverse of the aspect ratio of the camera. Aspect ratio is exactly 0.75 on real hardware.