From 0535503e3f96e135b9a478df1a9ea8ef7fd206d5 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Wed, 27 Jun 2018 17:34:09 +0200 Subject: [PATCH] tetraflexagon_diagram: fix typo The function is called calc_angle_in_plan(). --- src/flexagon/tetraflexagon_diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flexagon/tetraflexagon_diagram.py b/src/flexagon/tetraflexagon_diagram.py index eb2c807..8045c23 100755 --- 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: -- 2.1.4