How to draw/manage a hexagon grid?
- by W.N.
I've read this article: generating/creating hexagon grid in C . But look like both the author and answerer have already abandoned it.
v(hexagonSide - hexagonWidth * hexagonWidth): What's hexagonSide and hexagonWidth? Isn't it will < 0 (so square root can't be calculated).
And, can I put a hexagon into a rectangle? I need to create a grid like…