Move EARTH_RADIUS_KM to haversine.h
This commit is contained in:
parent
d284a7edc8
commit
31d02aff8c
@ -4,6 +4,8 @@
|
||||
#include "aliases.h"
|
||||
#include "point_types.h"
|
||||
|
||||
#define EARTH_RADIUS_KM 6371.0
|
||||
|
||||
f64 haversine_of_degrees(const PointPair &pair, f64 radius);
|
||||
|
||||
#endif // !HAVERSINE_H
|
||||
|
@ -6,8 +6,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define EARTH_RADIUS_KM 6371.0
|
||||
|
||||
i32 main(i32 argc, char *argv[]) {
|
||||
GeneratorArgs args = parse_args(argc, argv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user