aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-11-18 15:16:40 +0000
committerSimon Tatham <anakin@pobox.com>2017-11-18 15:26:13 +0000
commit8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9 (patch)
tree4dd554e21df0d6fff2d4a226c8df8a64c86e53ee /grid.h
parent69773d855b517ea356c3c02add97893201de2066 (diff)
downloadpuzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.zip
puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.tar.gz
puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.tar.bz2
puzzles-8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9.tar.xz
New grid type: the trihexagonal tiling, or 'kagome lattice'.
Regular hexagons and equilateral triangles in strict alternation, with two of each interleaved around each vertex. https://en.wikipedia.org/wiki/Trihexagonal_tiling Thanks to Michael Quevillon for the patch.
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/grid.h b/grid.h
index 19079a4..26d0b16 100644
--- a/grid.h
+++ b/grid.h
@@ -100,6 +100,7 @@ typedef struct grid {
A(SNUBSQUARE,snubsquare) \
A(CAIRO,cairo) \
A(GREATHEXAGONAL,greathexagonal) \
+ A(KAGOME,kagome) \
A(OCTAGONAL,octagonal) \
A(KITE,kites) \
A(FLORET,floret) \