You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(water): consistent estimate ratio + memory-bounded size cap
- estimate_max_carve_depth uses the inclusive (world-1)/(grid-1) ratio,
matching cover_class/grid_span_to_block_span, so it stays a safe upper
bound instead of under-estimating the floor reserve.
- Replace the u32-only guard with a cell cap that bounds the dt/depth/
visited allocations (and still keeps u32 indices valid); render flat
water above it instead of risking OOM.
0 commit comments