Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/math/
Dm_eval.c77 GLfloat s, powert, bincoeff; in _math_horner_bezier_curve() local
81 bincoeff = (GLfloat) (order - 1); in _math_horner_bezier_curve()
85 out[k] = s * cp[k] + bincoeff * t * cp[dim + k]; in _math_horner_bezier_curve()
89 bincoeff *= (GLfloat) (order - i); in _math_horner_bezier_curve()
90 bincoeff *= inv_tab[i]; in _math_horner_bezier_curve()
93 out[k] = s * out[k] + bincoeff * powert * cp[k]; in _math_horner_bezier_curve()
126 GLfloat s, poweru, bincoeff; in _math_horner_bezier_surf() local
135 bincoeff = (GLfloat) (uorder - 1); in _math_horner_bezier_surf()
139 cp[j * dim + k] = s * ucp[k] + bincoeff * u * ucp[uinc + k]; in _math_horner_bezier_surf()
143 bincoeff *= (GLfloat) (uorder - i); in _math_horner_bezier_surf()
[all …]