Yields sequence of 2D grid coordinates in outward spiral order starting from the center, given cols and rows.
cols
rows
Ported & modified from original Java code by Christopher Kulla. https://sourceforge.net/p/sunflow/code/HEAD/tree/trunk/src/org/sunflow/core/bucket/SpiralBucketOrder.java
-
Generated using TypeDoc
Yields sequence of 2D grid coordinates in outward spiral order starting from the center, given
cols
androws
.Ported & modified from original Java code by Christopher Kulla. https://sourceforge.net/p/sunflow/code/HEAD/tree/trunk/src/org/sunflow/core/bucket/SpiralBucketOrder.java