Improve utils by adding pixel conversion #52

Merged
tipragot merged 3 commits from improve-hex-utils into main 2024-02-15 09:50:16 +00:00
Showing only changes of commit 078326a7d1 - Show all commits

View file

@ -58,7 +58,7 @@ impl<T: HexNumber + AsPrimitive<f32>> HexPosition<T> {
}
/// Converts the current [HexPosition] into a pixel coordinate.
/// Input: The size of a single hexagon in pixels (witdh, height).
/// Input: The size of the hexagon in pixels (witdh, height).
///
/// If you want to learn more about pixel coordinates conversion,
/// you can check the