Searched refs:gradPos (Results 1 – 1 of 1) sorted by relevance
3855 const int gradPos = x + y + z; in populateSourceImage() local3858 …int red = 255 * gradPos / gradMax; //!< gradient from 0 -> max (detects large offse… in populateSourceImage()3859 …int green = ((gradPos % 2 == 0) ? (127) : (0)) + ((gradPos % 4 < 3) ? (128) : (0)); //!< 3-level… in populateSourceImage()