Lines Matching defs:y0
257 float y0 = y - Y0;
266 if (x0 > y0) {
280 y1 = y0 - j1 + G2;
282 y2 = y0 - 1.0f + 2.0f * G2;
289 t0 = 0.5f - x0 * x0 - y0 * y0;
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0);
343 float y0 = y - Y0;
356 if (x0 >= y0) {
357 if (y0 >= z0) {
382 else { /* x0<y0 */
383 if (y0 < z0) {
416 y1 = y0 - j1 + G3;
419 y2 = y0 - j2 + 2.0f * G3;
422 y3 = y0 - 1.0f + 3.0f * G3;
431 t0 = 0.6f - x0 * x0 - y0 * y0 - z0 * z0;
436 n0 = t0 * t0 * grad3(perm[ii + perm[jj + perm[kk]]], x0, y0, z0);
504 float y0 = y - Y0;
510 * determine the magnitude ordering of x0, y0, z0 and w0.
517 int c1 = (x0 > y0) ? 32 : 0;
519 int c3 = (y0 > z0) ? 8 : 0;
521 int c5 = (y0 > w0) ? 2 : 0;
559 y1 = y0 - j1 + G4;
563 y2 = y0 - j2 + 2.0f * G4;
567 y3 = y0 - j3 + 3.0f * G4;
571 y4 = y0 - 1.0f + 4.0f * G4;
582 t0 = 0.6f - x0 * x0 - y0 * y0 - z0 * z0 - w0 * w0;
588 t0 * t0 * grad4(perm[ii + perm[jj + perm[kk + perm[ll]]]], x0, y0,