tetraflexagon_diagram: add a function to calculate the tile offset in a square
[flexagon-toolkit.git] / src / diagram / diagram.py
index ec45e5c..e6c51c4 100755 (executable)
@@ -162,7 +162,7 @@ class Diagram(object):
         #      | 0  0       1 |
         #
         #      | cos(theta)  -sin(theta)  0 |
         #      | 0  0       1 |
         #
         #      | cos(theta)  -sin(theta)  0 |
-        # R  = | sin(theta)   con(theta)  0 |
+        # R  = | sin(theta)   cos(theta)  0 |
         #      |          0            0  1 |
         #
         #      | 1  0  dest_x |
         #      |          0            0  1 |
         #
         #      | 1  0  dest_x |