toporouter: Re-implement functions using atan with atan2
commit421c487a1adc5f93a5d1ef2b7a0085750b161b0a
authorPeter Clifton <pcjc2@cam.ac.uk>
Sat, 1 Oct 2011 18:21:36 +0000 (1 19:21 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Sat, 1 Oct 2011 18:21:36 +0000 (1 19:21 +0100)
treea35deb6602a87b99236186da612f1c97ed349d3a
parente873882e2465a74ef2c1b9cab54ed12dc170856e
toporouter: Re-implement functions using atan with atan2

Simplifies and condenses the code a lot.
src/toporouter.c