Smrender
 All Data Structures Files Functions Variables Macros
smath.h
1 #ifndef SMATH_H
2 #define SMATH_H
3 
4 
5 #include <math.h>
6 
7 
8 /*struct coord
9 {
10  double lat, lon;
11 };*/
12 
13 struct pcoord
14 {
15  double bearing, dist;
16 };
17 
18 
19 void coord_diffp(const struct coord *, const struct coord *, struct pcoord *);
20 struct pcoord coord_diff(const struct coord *, const struct coord *);
21 struct coord dest_coord(const struct coord *, const struct pcoord *);
22 double fmod2(double , double );
23 int sgn(double );
24 
25 
26 #endif
27 
Definition: smrender.h:60
Definition: smath.h:13