]> Pileus Git - grits/blobdiff - src/roam.c
Lazy tile splitting
[grits] / src / roam.c
index 330c9826e0b4de18b1ed14718812c83a43e901e4..94416b96abbae7bd135ec73c240f791783a90072 100644 (file)
@@ -851,7 +851,7 @@ static GList *_roam_sphere_get_intersect_rec(RoamTriangle *triangle, GList *list
        if (debug)
                g_message("t=%p: %f < %f || %f > %f || %f < %f || %f > %f",
                            triangle, tn,   s,   ts,   n,   te,   w,   tw,   e);
-       if (tn < s || ts > n || te < w || tw > e) {
+       if (tn <= s || ts >= n || te <= w || tw >= e) {
                /* No intersect */
                if (debug) g_message("no intersect");
                return list;