template hex builder fix2
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user