Function gvr_sys::gvr_get_eye_from_head_matrix [] [src]

pub unsafe extern "C" fn gvr_get_eye_from_head_matrix(
    gvr: *const gvr_context,
    eye: i32
) -> gvr_mat4f

Gets the transformation matrix to convert from Head Space to Eye Space for the given eye.

@param gvr Pointer to the gvr instance from which to get the matrix. @param eye Selected eye type. @return Transformation matrix from Head Space to selected Eye Space.