From: Antonio Ospite Date: Wed, 27 Jun 2018 13:23:47 +0000 (+0200) Subject: trihexaflexagon: improve get_angle_in_plan_relative_to_hexagon() X-Git-Url: https://git.ao2.it/flexagon-toolkit.git/commitdiff_plain/3143f02f27e92c9d3475485e706bce8ffd73b6b3?ds=sidebyside;hp=3143f02f27e92c9d3475485e706bce8ffd73b6b3 trihexaflexagon: improve get_angle_in_plan_relative_to_hexagon() Instead of doing some arcane calculation, do what the function is meant to do: calculate an angle relative to another angle.. This also makes the code more robust in the case the calculation of the other angles should change for some reason. Leave the explicit formula in the comment as documentation. ---