Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Heightmap ¶
type Heightmap map[advent2021.XY]int
func NewHeightmap ¶
func (Heightmap) IsLowPoint ¶
func (m Heightmap) IsLowPoint(pos advent2021.XY) bool
func (Heightmap) LowPoints ¶
func (m Heightmap) LowPoints() []advent2021.XY
Click to show internal directories.
Click to hide internal directories.