]> Pileus Git - grits/blobdiff - src/objects/gis-tile.h
Add texture coords to tiles
[grits] / src / objects / gis-tile.h
index e2b72524f53d430e4c12cf0746bccb809e905e4e..c912b5a171ef507e67aa02ecae1650a5610c65e8 100644 (file)
@@ -38,12 +38,15 @@ struct _GisTile {
        /* Pointer to the tile data */
        gpointer data;
 
-       /* Pointer to the tile data */
+       /* Drawing order */
        gint zindex;
 
        /* North,South,East,West limits */
        GisBBox edge;
 
+       /* Texture mapping coordinates */
+       GisBBox coords;
+
        /* Pointers to parent/child nodes */
        GisTile *parent;
        GisTile *children[2][2];