diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-07-11 19:21:08 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-07-11 19:21:08 +0200 |
| commit | e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc (patch) | |
| tree | 97b156b6dc4ef70fbab791cda6823ad676b04ed0 /src | |
| parent | blind-spiral-gradient: set the value of the singularity to 0 (diff) | |
| download | blind-e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc.tar.gz blind-e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc.tar.bz2 blind-e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc.tar.xz | |
blind-spiral-gradient: fix -a
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
| -rw-r--r-- | src/blind-spiral-gradient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blind-spiral-gradient.c b/src/blind-spiral-gradient.c index 8bdda44..4cf5937 100644 --- 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);\ |
