UNPKG
@caveworld/honeycomb-grid
Version:
latest (4.0.0-alpha-5fb3fd1)
4.0.0-alpha-9bbafa2
4.0.0-alpha-5fb3fd1
Create hexagon grids easily
abbekeultjes.nl/honeycomb
flauwekeul/honeycomb
@caveworld/honeycomb-grid
/
dist
/
grid
/
traversers
/
fromCoordinates.d.ts
4 lines
(3 loc)
•
197 B
TypeScript
View Raw
1
2
3
4
import
{
Hex
,
HexCoordinates
}
from
'../../hex'
;
import
{
Traverser
}
from
'../types'
;
export
declare
const
fromCoordinates
: <T
extends
Hex
>
(
...
coordinates
:
HexCoordinates
[]
) =>
Traverser
<T, T[]>;