[gegl] transform-core: make the safety epsilon safer
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] transform-core: make the safety epsilon safer
- Date: Mon, 17 Dec 2012 00:22:41 +0000 (UTC)
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]