public void ResetShadows() { light = null; lightheight = null; lightheight = new InfiniteHeightCache(); chunklighted = null; UpdateHeightCache(); loaded = true; light = new InfiniteMapCache(); chunklighted = new bool[map.MapSizeX / chunksize, map.MapSizeY / chunksize, map.MapSizeZ / chunksize]; }
public void ResetShadows() { light = null; lightheight = null; lightheight = new InfiniteHeightCache(); chunklighted = null; UpdateHeightCache(); loaded = true; }