Skip to content

Commit e5bd7a6

Browse files
committed
fix issue #2
the angle isn't 45deg it is 60deg
1 parent 6fe1451 commit e5bd7a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ To make the vertical spacing between the hexagons the same as the horizontal spa
3636

3737
```
3838
m = margin top and bottom
39-
h = 1/2 height of hexagon
39+
h = 1/2 height of hexagon
40+
s = horizontal spacing between hexagons
4041
4142
42-
m = - h + h * cos(60deg) + sin (45deg)
43+
m = - h + h * cos(60deg) + s * sin (60deg)
4344
```

0 commit comments

Comments
 (0)