2025-06-09 15:07:26 +02:00

3 lines
105 B
Lua

function growToNextRaster(value, raster, spacing)
return math.ceil((value+spacing)/raster)*raster
end