* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __GIS_UTIL_H__
-#define __GIS_UTIL_H__
+#ifndef __GRITS_UTIL_H__
+#define __GRITS_UTIL_H__
#include <glib.h>
* 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);
-/* GisBBox */
-typedef struct _GisBBox GisBBox;
-struct _GisBBox {
+/* GritsBBox */
+typedef struct _GritsBBox GritsBBox;
+struct _GritsBBox {
gdouble n, s, e, w;
};
-void gis_bbox_set_bounds(GisBBox *bbox,
+void grits_bbox_set_bounds(GritsBBox *bbox,
gdouble n, gdouble s, gdouble e, gdouble w);
/**
* 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