Iterate over more trees... slower, but maybe more correct.

This commit is contained in:
Joshua Yanovski 2022-07-05 21:35:51 -07:00
parent 4cf42e2563
commit c2410c6303

View File

@ -132,7 +132,7 @@ pub fn apply_trees_to(
/*canvas.foreach_col(|canvas, wpos2d, col| {*/
info.chunks()
.get_area_trees(render_area.min, render_area.max)
.get_area_trees(render_area.min + 15, render_area.max + 16)
.filter_map(|attr| {
info.col_or_gen(attr.pos)
.filter(|col| tree_valid_at(col, attr.seed))