flauwekeul / honeycomb

Create hex grids easily, in node or the browser.
https://abbekeultjes.nl/honeycomb
MIT License
631 stars 57 forks source link

Examples show Grid#hexagon misuse #5

Closed DreadfulDeveloper closed 6 years ago

DreadfulDeveloper commented 7 years ago

Grid#hexagon takes an options object, but in the examples it is shown accepting an integer argument grid.hexagon(3). When called with an integer, Grid#hexagon returns an empty array.

flauwekeul commented 7 years ago

Thanks for opening this issue. I'll look into it next week.

flauwekeul commented 6 years ago

In a commit I hadn't pushed yet, I've removed everything view related. This also fixes this issue.

Sorry it took so long to properly respond. I had my wedding to organize (and attend 😅) and suffer the ensuing food poisoning :nauseated_face: