Function qtmComputeHeadTiltAngle

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

Computes the user’s head tilt angle, that is, the angle between the line through both eyes and the camera’s horizontal axis in camera space.

§Arguments

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

§Returns

Horizontal head angle relative to camera, in radians.