summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 67acabc)
raw | patch | inline | side by side (parent: 67acabc)
author | jaspervdg <jaspervdg@users.sourceforge.net> | |
Mon, 21 Jul 2008 14:36:55 +0000 (14:36 +0000) | ||
committer | jaspervdg <jaspervdg@users.sourceforge.net> | |
Mon, 21 Jul 2008 14:36:55 +0000 (14:36 +0000) |
src/helper/geom.cpp | patch | blob | history |
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp
index 2af044f4abe55595b0000a4dfebe0051af2b054b..f94881e0c36c7a68cdb7d1574886602def205ae9 100644 (file)
--- a/src/helper/geom.cpp
+++ b/src/helper/geom.cpp
// So, if it also contains (x001,y001) and (x011,y011) we don't have to compute anything else!
// Note that we compute it for the X and Y range separately to make it easier to use them below
bool containsXrange = bbox[0].contains(x001) && bbox[0].contains(x011);
- bool containsYrange = bbox[0].contains(y001) && bbox[0].contains(y011);
+ bool containsYrange = bbox[1].contains(y001) && bbox[1].contains(y011);
/*
* xttt = s * (s * (s * x000 + t * x001) + t * (s * x001 + t * x011)) + t * (s * (s * x001 + t * x011) + t * (s * x011 + t * x111))