Searched refs:G4 (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_noise.c482 #define G4 0.138196601f /* G4 = (5.0-Math.sqrt(5.0))/20.0 */ macro
497 float t = (i + j + k + l) * G4; /* Factor for 4D unskewing */
558 x1 = x0 - i1 + G4; /* Offsets for second corner in (x,y,z,w) coords */
559 y1 = y0 - j1 + G4;
560 z1 = z0 - k1 + G4;
561 w1 = w0 - l1 + G4;
562 x2 = x0 - i2 + 2.0f * G4; /* Offsets for third corner in (x,y,z,w) coords */
563 y2 = y0 - j2 + 2.0f * G4;
564 z2 = z0 - k2 + 2.0f * G4;
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_noise.c482 #define G4 0.138196601f /* G4 = (5.0-Math.sqrt(5.0))/20.0 */ macro
497 float t = (i + j + k + l) * G4; /* Factor for 4D unskewing */
558 x1 = x0 - i1 + G4; /* Offsets for second corner in (x,y,z,w) coords */
559 y1 = y0 - j1 + G4;
560 z1 = z0 - k1 + G4;
561 w1 = w0 - l1 + G4;
562 x2 = x0 - i2 + 2.0f * G4; /* Offsets for third corner in (x,y,z,w) coords */
563 y2 = y0 - j2 + 2.0f * G4;
564 z2 = z0 - k2 + 2.0f * G4;
[all...]

Completed in 4 milliseconds