]> Pileus Git - grits/blobdiff - src/objects/gis-tile.c
Add texture coords to tiles
[grits] / src / objects / gis-tile.c
index 24214ade125a4434a4871661879c6652c6a27cb0..fbffd6ff0f799d638145230e89f9db1cc9524bee 100644 (file)
@@ -58,6 +58,7 @@ GisTile *gis_tile_new(GisTile *parent,
        GisTile *tile = g_object_new(GIS_TYPE_TILE, NULL);
        tile->parent = parent;
        tile->atime  = time(NULL);
+       gis_bbox_set_bounds(&tile->coords, 0, 1, 1, 0);
        gis_bbox_set_bounds(&tile->edge, n, s, e, w);
        return tile;
 }