template hex builder fix2

This commit is contained in:
dingo
2026-04-05 15:52:27 -04:00
parent 323de3982d
commit 5b9970fe4b
@@ -713,7 +713,7 @@ else
private static string HexPolygonPoints(double cx, double cy, double R, int sides = 6)
{
var sb = new System.Text.StringBuilder();
for (int i = 0; i < sides; i++)
for (int i = 0; i < 6; i++)
{
// Start at top (-90°) and go clockwise; for 6 sides this matches the
// original pointy-top hexagon orientation used by the hex grid layout.