Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor angle2(): instead of calling edge_distance, do the
calculations directly. This saves 1 square root operation and 3 squared operations. This also reduces the floating point representation error, and no longer need to round to 5. Might be fringe cases where a tolerance is needed, I am not sure. See also: #19
- Loading branch information