33 #ifndef DOXYGEN_SHOULD_SKIP_THIS 64 Vector2f getHexagonSize(
float radius)
const noexcept;
74 RectF computeBounds(
Vector2i size,
float radius)
const noexcept;
94 std::vector<Vector2f> computeCorners(
Vector2i coords,
float radius)
const;
101 #ifndef DOXYGEN_SHOULD_SKIP_THIS 106 #endif // GF_HEXAGON_H
The namespace for gf classes.
Definition: Action.h:35
MapCellIndex
Map cell index in a map celled or hexagonal map.
Definition: MapCell.h:35
A helper for computing coordinates in a hexagonal map.
Definition: Hexagon.h:41
HexagonHelper(MapCellAxis axis, MapCellIndex index)
Constructor.
Definition: Hexagon.h:52
MapCellAxis
Map cell axis in a map celled.
Definition: MapCell.h:46
General purpose math vector.
Definition: Vector.h:61