Lines Matching refs:G4
482 #define G4 0.138196601f /* G4 = (5.0-Math.sqrt(5.0))/20.0 */ in _mesa_noise4() macro
497 float t = (i + j + k + l) * G4; /* Factor for 4D unskewing */ in _mesa_noise4()
558 x1 = x0 - i1 + G4; /* Offsets for second corner in (x,y,z,w) coords */ in _mesa_noise4()
559 y1 = y0 - j1 + G4; in _mesa_noise4()
560 z1 = z0 - k1 + G4; in _mesa_noise4()
561 w1 = w0 - l1 + G4; in _mesa_noise4()
562 x2 = x0 - i2 + 2.0f * G4; /* Offsets for third corner in (x,y,z,w) coords */ in _mesa_noise4()
563 y2 = y0 - j2 + 2.0f * G4; in _mesa_noise4()
564 z2 = z0 - k2 + 2.0f * G4; in _mesa_noise4()
565 w2 = w0 - l2 + 2.0f * G4; in _mesa_noise4()
566 x3 = x0 - i3 + 3.0f * G4; /* Offsets for fourth corner in (x,y,z,w) coords */ in _mesa_noise4()
567 y3 = y0 - j3 + 3.0f * G4; in _mesa_noise4()
568 z3 = z0 - k3 + 3.0f * G4; in _mesa_noise4()
569 w3 = w0 - l3 + 3.0f * G4; in _mesa_noise4()
570 x4 = x0 - 1.0f + 4.0f * G4; /* Offsets for last corner in (x,y,z,w) coords */ in _mesa_noise4()
571 y4 = y0 - 1.0f + 4.0f * G4; in _mesa_noise4()
572 z4 = z0 - 1.0f + 4.0f * G4; in _mesa_noise4()
573 w4 = w0 - 1.0f + 4.0f * G4; in _mesa_noise4()