Searched refs:dist_start (Results 1 – 1 of 1) sorted by relevance
184 double dist_start = 0; in linear_interpolate_p2() local189 dist_start = abs(ref_curr - ref_start); in linear_interpolate_p2()191 dist_sum = dist_start + dist_end; in linear_interpolate_p2()193 if (dist_start == 0) { in linear_interpolate_p2()196 weight_start = ((double)dist_sum / dist_start); in linear_interpolate_p2()