public ShadowsBase() { q_ = new FastQueueInt(); q_.Initialize(1024); lighttoflood = new FastStackInt(); lighttoflood.Initialize(1024); workData = new int[16 * 16 * 16]; }
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); }
public LightFlood() { q = new FastQueueInt(); q.Initialize(1024); }