lightPropagator.process();
}
private static void populateSunlight(LitChunk chunk) {
PropagationRules sunlightRules = new SunlightPropagationRules(chunk);
BatchPropagator lightPropagator = new StandardBatchPropagator(sunlightRules, new SingleChunkView(sunlightRules, chunk));
for (int x = 0; x < ChunkConstants.SIZE_X; x++) {
for (int z = 0; z < ChunkConstants.SIZE_Z; z++) {
for (int y = 0; y < ChunkConstants.MAX_SUNLIGHT; ++y) {
Vector3i pos = new Vector3i(x, y, z);