summaryrefslogtreecommitdiff
path: root/src/kernel/ao_distance.c
Commit message (Collapse)AuthorAge
* altos: ao_distance was overflowing when checking for longitude wrapKeith Packard2014-06-05
| | | | | | Need to shift everyone right one bit to fit in 32 bits Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ao_distance.c to compute cartesian distances on the globeKeith Packard2014-06-05
This is not a great circle distance, but should be good enough for points reasonably close together Signed-off-by: Keith Packard <keithp@keithp.com>