Searched refs:t_mid (Results 1 – 1 of 1) sorted by relevance
363 float t_mid = 0.5f; in get_bez_t_from_pos() local368 a_pt = comp_bezier_point(t_mid, cp); in get_bez_t_from_pos()371 t_hig = t_mid; in get_bez_t_from_pos()374 t_low = t_mid; in get_bez_t_from_pos()377 t_mid = (t_low + t_hig) / 2.0f; in get_bez_t_from_pos()380 return (uint16_t)floorf(t_mid * T_FRACTION + 0.5f); in get_bez_t_from_pos()