]> Pileus Git - grits/blobdiff - src/roam.h
Fix holes in the earth
[grits] / src / roam.h
index 38457005f735e8ec1dd3231221d35158308371af..492ab3958b4accd097bb19b295e7d43b93f797f0 100644 (file)
@@ -48,7 +48,7 @@ struct _RoamPoint {
        gdouble  norm[3];   // Vertex normal
 
        /* For get_intersect */
-       gdouble  lat, lon;
+       gdouble  lat, lon, elev;
 
        /* For terrain */
        RoamHeightFunc height_func;
@@ -124,7 +124,7 @@ void roam_sphere_merge_one(RoamSphere *sphere);
 gint roam_sphere_split_merge(RoamSphere *sphere);
 void roam_sphere_draw(RoamSphere *sphere);
 void roam_sphere_draw_normals(RoamSphere *sphere);
-GList *roam_sphere_get_intersect(RoamSphere *sphere,
+GList *roam_sphere_get_intersect(RoamSphere *sphere, gboolean all,
                gdouble n, gdouble s, gdouble e, gdouble w);
 void roam_sphere_free(RoamSphere *sphere);