Index: trunk/psLib/src/math/psRegion.c
===================================================================
--- trunk/psLib/src/math/psRegion.c	(revision 6874)
+++ trunk/psLib/src/math/psRegion.c	(revision 7380)
@@ -84,2 +84,7 @@
 }
 
+bool inline psRegionIsNaN(const psRegion region)
+{
+    return isnan(region.x0) || isnan(region.x1) || isnan(region.y0) || isnan(region.y1);
+}
+
