示例#1
0
 public ShadowsBase()
 {
     q_ = new FastQueueInt();
     q_.Initialize(1024);
     lighttoflood = new FastStackInt();
     lighttoflood.Initialize(1024);
     workData = new int[16 * 16 * 16];
 }
示例#2
0
    public ShadowsBetweenChunks()
    {
        chunksLight = new byte[3 * 3 * 3][];
        for (int i = 0; i < 3 * 3 * 3; i++)
        {
            chunksLight[i] = new byte[16 * 16 * 16];
        }
        chunksData = new int[3 * 3 * 3][];
        for (int i = 0; i < 3 * 3 * 3; i++)
        {
            chunksData[i] = new int[16 * 16 * 16];
        }

        q = new FastQueueInt();
        q.Initialize(1024);
    }
示例#3
0
 public LightFlood()
 {
     q = new FastQueueInt();
     q.Initialize(1024);
 }
示例#4
0
 public LightFlood()
 {
     q = new FastQueueInt();
     q.Initialize(1024);
 }