05-05-2023, 07:12 PM
(05-05-2023, 04:50 PM)Ofnuts Wrote: But the result are different from mine (seem shifted by 1):
Code:
offset 0, total 15 ( [5, 5, 5]), ofn size 15, ot size 15
offset 1, total 15 ( [5, 5, 5]), ofn size 15, ot size 14
offset 2, total 14 ( [5, 5, 4]), ofn size 14, ot size 14
offset 3, total 14 ([1, 5, 5, 3]), ofn size 14, ot size 14
offset 4, total 14 ([2, 5, 5, 2]), ofn size 14, ot size 14
offset 5, total 14 ([3, 5, 5, 1]), ofn size 14, ot size 14
offset 6, total 14 ( [4, 5, 5]), ofn size 14, ot size 15
In that example, what are the values of the arguments span, tile, grid?
To check the results, one should draw a picture on paper and count by hand. But I notice that both your and my results contain two 15's and five 14's, so that could it be that the offset has different meanings?