Searched refs:dist_end (Results 1 – 1 of 1) sorted by relevance
185 double dist_end = 0; in linear_interpolate_p2() local190 dist_end = abs(ref_end - ref_curr); in linear_interpolate_p2()191 dist_sum = dist_start + dist_end; in linear_interpolate_p2()199 if (dist_end == 0) { in linear_interpolate_p2()202 weight_end = ((double)dist_sum / dist_end); in linear_interpolate_p2()