blind-spiral-gradient: fix -a - blind - suckless command-line video editing utility
HTML git clone git://git.suckless.org/blind
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc
DIR parent 484d84596ef059463d905f07c65672b92a38a28c
HTML 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:
M src/blind-spiral-gradient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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);\