diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-05-28 19:23:02 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-05-29 18:15:40 +0800 |
commit | 154efc3e429508bf27dbd31ebe66b6e1a26b7ded (patch) | |
tree | 6c02cc820dd732c0efc44fe401997b39b645bd11 /source/fitz/shade.c | |
parent | 2f987ef9812f74be9c272563d200e8ef1bac46ea (diff) | |
download | mupdf-154efc3e429508bf27dbd31ebe66b6e1a26b7ded.tar.xz |
Make PI/RADIAN/SQRT2/LN2 global single precision float constants.
Diffstat (limited to 'source/fitz/shade.c')
-rw-r--r-- | source/fitz/shade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/shade.c b/source/fitz/shade.c index b7e746d7..13788472 100644 --- a/source/fitz/shade.c +++ b/source/fitz/shade.c @@ -201,7 +201,7 @@ fz_paint_annulus(fz_context *ctx, const fz_matrix *ctm, int i; theta = atan2f(p1.y - p0.y, p1.x - p0.x); - step = (float)M_PI / count; + step = FZ_PI / count; a = 0; for (i = 1; i <= count; i++) |