hexaflexagon_diagram: reuse get_triangle_center_in_plan()
authorAntonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 13:05:06 +0000 (15:05 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 13:18:43 +0000 (15:18 +0200)
commit6d9cd06817dcbc3c609dd72029f8840fbfdffab9
tree9d66d4b004e940b4e226d8ab7a5efbb51d43961f
parentefa80b147aa1f4f210e8df7e938db910fe10b488
hexaflexagon_diagram: reuse get_triangle_center_in_plan()

Reuse get_triangle_center_in_plan() also in draw_plan_template() instead
of open coding the calculations.
src/flexagon/hexaflexagon_diagram.py