Home | History | Annotate | Download | only in math

Lines Matching defs:cp

74 _math_horner_bezier_curve(const GLfloat * cp, GLfloat * out, GLfloat t,
85 out[k] = s * cp[k] + bincoeff * t * cp[dim + k];
87 for (i = 2, cp += 2 * dim, powert = t * t; i < order;
88 i++, powert *= t, cp += dim) {
93 out[k] = s * out[k] + bincoeff * powert * cp[k];
99 out[k] = cp[k];
121 GLfloat *cp = cn + uorder * vorder * dim;
139 cp[j * dim + k] = s * ucp[k] + bincoeff * u * ucp[uinc + k];
147 cp[j * dim + k] =
148 s * cp[j * dim + k] + bincoeff * poweru * ucp[k];
153 _math_horner_bezier_curve(cp, out, v, dim, vorder);
169 _math_horner_bezier_curve(cn, &cp[i * dim], v, dim, vorder);
173 _math_horner_bezier_curve(cp, out, u, dim, uorder);