projects
/
flexagon-toolkit.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9cd06
)
tetraflexagon_diagram: fix typo
author
Antonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 15:34:09 +0000
(17:34 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Thu, 28 Jun 2018 14:34:52 +0000
(16:34 +0200)
The function is called calc_angle_in_plan().
src/flexagon/tetraflexagon_diagram.py
patch
|
blob
|
history
diff --git
a/src/flexagon/tetraflexagon_diagram.py
b/src/flexagon/tetraflexagon_diagram.py
index
eb2c807
..
8045c23
100755
(executable)
--- a/
src/flexagon/tetraflexagon_diagram.py
+++ b/
src/flexagon/tetraflexagon_diagram.py
@@
-81,7
+81,7
@@
class TetraflexagonDiagram(object):
dest_x, dest_y = self.get_tile_center_in_plan(tile)
i, j = self.tetraflexagon.get_tile_plan_position(tile)
- theta = tile.
get
_angle_in_plan(i, j)
+ theta = tile.
calc
_angle_in_plan(i, j)
# The transformation from a tile in the square to the correspondent
# tile in the plan is composed by these steps: