Home
last modified time | relevance | path

Searched refs:prev_normal (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/vega/
Dbezier.c344 float prev_normal[2]; in shift() local
404 compute_pt_normal(points[0], points[1], prev_normal); in shift()
406 points_shifted[0][0] = points[0][0] + offset * prev_normal[0]; in shift()
407 points_shifted[0][1] = points[0][1] + offset * prev_normal[1]; in shift()
414 normal_sum[0] = prev_normal[0] + next_normal[0]; in shift()
415 normal_sum[1] = prev_normal[1] + next_normal[1]; in shift()
417 r = 1.0 + prev_normal[0] * next_normal[0] in shift()
418 + prev_normal[1] * next_normal[1]; in shift()
421 points_shifted[i][0] = points[i][0] + offset * prev_normal[0]; in shift()
422 points_shifted[i][1] = points[i][1] + offset * prev_normal[1]; in shift()
[all …]