hexToPixel

Converts a point in hexagonal coordinates to pixel coordinates. This is done by applying the layout's orientation matrix to the hexagonal coordinates, then scaling and translating the result by the layout's size and origin.

Return

The point in pixel coordinates.

Parameters

layout

The layout of the hexagonal grid.

hex

The point in hexagonal coordinates.