X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=src%2Fgrits-util.h;fp=src%2Fgrits-util.h;h=07715415f1ee89b0bd4e2654064e7658f193d44e;hb=f383c18c9f85a1b439c6bfb2a27d652278ed019a;hp=ccc75585ad702a7b9f9730e189dc87a5c84c2da5;hpb=f6ab99d5665eb7f1b32d47f2ba3b9f4542500584;p=grits diff --git a/src/grits-util.h b/src/grits-util.h index ccc7558..0771541 100644 --- a/src/grits-util.h +++ b/src/grits-util.h @@ -15,8 +15,8 @@ * along with this program. If not, see . */ -#ifndef __GIS_UTIL_H__ -#define __GIS_UTIL_H__ +#ifndef __GRITS_UTIL_H__ +#define __GRITS_UTIL_H__ #include @@ -150,22 +150,22 @@ * Datatypes * *************/ -/* GisPoint */ -typedef struct _GisPoint GisPoint; -struct _GisPoint { +/* GritsPoint */ +typedef struct _GritsPoint GritsPoint; +struct _GritsPoint { gdouble lat, lon, elev; }; -void gis_point_set_lle(GisPoint *point, +void grits_point_set_lle(GritsPoint *point, gdouble lat, gdouble lon, gdouble elev); -/* GisBounds */ -typedef struct _GisBounds GisBounds; -struct _GisBounds { +/* GritsBounds */ +typedef struct _GritsBounds GritsBounds; +struct _GritsBounds { gdouble n, s, e, w; }; -void gis_bounds_set_bounds(GisBounds *bounds, +void grits_bounds_set_bounds(GritsBounds *bounds, gdouble n, gdouble s, gdouble e, gdouble w); @@ -175,7 +175,7 @@ void gis_bounds_set_bounds(GisBounds *bounds, /** * FOV_DIST: * - * Used by GisOpenGL to set up the drawing window + * Used by GritsOpenGL to set up the drawing window */ #define FOV_DIST 2000.0