Defining nearest neighbors for given hex coordinates
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private, | parameter | :: | N | = | 6 |
Return a direction in pseudo-3D hex space, given a (signed) integer label
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | idir |