projects
/
flexagon-toolkit.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3143f02
)
trihexaflexagon: improve get_angle_in_plan_relative_to_hexagon()
author
Antonio Ospite <ao2@ao2.it>
Wed, 27 Jun 2018 13:23:47 +0000
(15:23 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Thu, 28 Jun 2018 14:34:52 +0000
(16:34 +0200)
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.
No differences found