shawnlaffan / Geo-ShapeFile

A perl library for reading shapefiles
https://metacpan.org/module/Geo::ShapeFile
2 stars 1 forks source link

angle_to - check use of atan2 to shorten function #6

Closed shawnlaffan closed 10 years ago

shawnlaffan commented 10 years ago

The atan2 function can be used to shorten the logic in angle_to. There appears, however, to be issues with the point subtraction process, as the distances use the reversed point order.

shawnlaffan commented 10 years ago

fixed in 16a3f6ffd9865b17a59ae027886ab3901b82db59