Home | History | Annotate | Download | only in program

Lines Matching refs:n2

244    float n0, n1, n2;            /* Noise contributions from the three corners */
307 n2 = 0.0f;
310 n2 = t2 * t2 * grad2(perm[ii + 1 + perm[jj + 1]], x2, y2);
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 */
451 n2 = 0.0f;
454 n2 =
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 */
605 n2 = 0.0f;
608 n2 =
637 return 27.0f * (n0 + n1 + n2 + n3 + n4); /* TODO: The scale factor is preliminary! */