{hexa,tetra}flexagon_diagram: fix typos in comments
[flexagon-toolkit.git] / src / flexagon / tetraflexagon_diagram.py
index eb2c807..acf5706 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# An class to draw tetraflexagons
+# A class to draw tetraflexagons
 #
 # Copyright (C) 2018  Antonio Ospite <ao2@ao2.it>
 #
@@ -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: