示例#1
0
        private int iterateRandomSeed(int seed)
        {
            if (seed == 0)
            {
                seed = -1;
            }

            seed ^= LogicMath.overflowShl(seed, 13);
            seed ^= (seed >> (int)17);

            return(seed ^ LogicMath.overflowShl(seed, 5));
        }