[gegl] transform-core: make the safety epsilon safer



commit a1aea99e84234a59b6f762610cd12a2054309d37
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Sun Dec 16 19:22:37 2012 -0500

    transform-core: make the safety epsilon safer

 operations/transform/transform-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 51ab766..0cd1bdd 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -1083,7 +1083,7 @@ transform_generic (GeglBuffer  *dest,
        * Attempt at making degenerate cases be handled somewhat
        * gracefully: Set a floor, above 0, for w.
        */
-#define PERSPECTIVE_TRANSFORM_EPSILON ((gdouble) 1.e-7)
+#define PERSPECTIVE_TRANSFORM_EPSILON ((gdouble) 1.e-5)
 #define CLAMP_PERSPECTIVE_TRANSFORM(w) \
   ( (w) > PERSPECTIVE_TRANSFORM_EPSILON ? (w) : PERSPECTIVE_TRANSFORM_EPSILON )
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]