]> Pileus Git - grits/blobdiff - src/gis-opengl.h
Add preliminary support for points/markers
[grits] / src / gis-opengl.h
index 256d0d077600e2f7da097aefb3f819dccab43db6..2e80d07cad55824e3ff27e09d7828e9136a5a9a8 100644 (file)
@@ -47,7 +47,7 @@ struct _GisOpenGL {
        GisView    *view;
        GisPlugins *plugins;
        RoamSphere *sphere;
-       guint       sm_source;
+       guint       sm_source[2];
 
        /* for testing */
        gboolean    wireframe;
@@ -67,6 +67,10 @@ GisOpenGL *gis_opengl_new(GisWorld *world, GisView *view, GisPlugins *plugins);
 void gis_opengl_center_position(GisOpenGL *opengl,
                gdouble lat, gdouble lon, gdouble elev);
 
+void gis_opengl_project(GisOpenGL *opengl,
+               gdouble lat, gdouble lon, gdouble elev,
+               gdouble *px, gdouble *py, gdouble *pz);
+
 void gis_opengl_render_tile(GisOpenGL *opengl, GisTile *tile);
 
 void gis_opengl_render_tiles(GisOpenGL *opengl, GisTile *root);