Home | History | Annotate | Download | only in program

Lines Matching refs:n1

220    float n0, n1;
229 n1 = t1 * t1 * grad1(perm[i1 & 0xff], x1);
233 return 0.25f * (n0 + n1);
244 float n0, n1, n2; /* Noise contributions from the three corners */
299 n1 = 0.0f;
302 n1 = t1 * t1 * grad2(perm[ii + i1 + perm[jj + j1]], x1, y1);
315 return 40.0f * (n0 + n1 + n2); /* TODO: The scale factor is preliminary! */
327 float n0, n1, n2, n3; /* Noise contributions from the four corners */
441 n1 = 0.0f;
444 n1 =
472 return 32.0f * (n0 + n1 + n2 + n3); /* TODO: The scale factor is preliminary! */
484 float n0, n1, n2, n3, n4; /* Noise contributions from the five corners */
594 n1 = 0.0f;
597 n1 =
637 return 27.0f * (n0 + n1 + n2 + n3 + n4); /* TODO: The scale factor is preliminary! */