commit e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc
parent 484d84596ef059463d905f07c65672b92a38a28c
Author: Mattias Andrée <maandree@kth.se>
Date: Tue, 11 Jul 2017 19:21:08 +0200
blind-spiral-gradient: fix -a
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/blind-spiral-gradient.c b/src/blind-spiral-gradient.c
@@ -71,7 +71,7 @@ static int with_vector;
} else {\
v = atan2(y, x);\
if (anticlockwise)\
- v = 1 - v;\
+ v = -v;\
v -= u;\
v += 4 * (TYPE)M_PI;\
v = mod(v, 2 * (TYPE)M_PI);\