[gegl] operations: fix use of "clockwise" in color-rotate



commit eeba193dd792e0923ab6c74ef9a29fff143da690
Author: Michael Natterer <mitch gimp org>
Date:   Wed May 28 00:56:09 2014 +0200

    operations: fix use of "clockwise" in color-rotate

 operations/workshop/color-rotate.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/workshop/color-rotate.c b/operations/workshop/color-rotate.c
index e7e753c..4b5dc50 100644
--- a/operations/workshop/color-rotate.c
+++ b/operations/workshop/color-rotate.c
@@ -266,7 +266,7 @@ left_end (gfloat   from,
 {
   gfloat alpha  = DEG_TO_RAD (from);
   gfloat beta   = DEG_TO_RAD (to);
-  gint   cw_ccw = cl ? 1 : -1;
+  gint   cw_ccw = cl ? -1 : 1;
 
   switch (cw_ccw)
     {
@@ -285,7 +285,7 @@ right_end (gfloat   from,
 {
   gfloat alpha  = DEG_TO_RAD (from);
   gfloat beta   = DEG_TO_RAD (to);
-  gint   cw_ccw = cl ? 1 : -1;
+  gint   cw_ccw = cl ? -1 : 1;
 
   switch (cw_ccw)
     {


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