Home | History | Annotate | Download | only in program

Lines Matching refs:n0

220    float n0, n1;
225 n0 = t0 * t0 * grad1(perm[i0 & 0xff], x0);
233 return 0.25f * (n0 + n1);
244 float n0, n1, n2; /* Noise contributions from the three corners */
291 n0 = 0.0f;
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0);
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 */
433 n0 = 0.0f;
436 n0 = t0 * t0 * grad3(perm[ii + perm[jj + perm[kk]]], x0, y0, z0);
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 */
584 n0 = 0.0f;
587 n0 =
637 return 27.0f * (n0 + n1 + n2 + n3 + n4); /* TODO: The scale factor is preliminary! */