From 0e3a86ab3d83a52cf9c12fa00567901d695e78d2 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 13 Jan 2019 00:31:05 +0000 Subject: whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3497 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- generator/ppmwheel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'generator') diff --git a/generator/ppmwheel.c b/generator/ppmwheel.c index ef5021f9..b8a4ae0c 100644 --- a/generator/ppmwheel.c +++ b/generator/ppmwheel.c @@ -26,8 +26,8 @@ #define ABS(a) ((a) < 0 ? -(a) : (a)) #endif -static void -hsv_rgb(double const in_h, double const in_s, double const in_v, +static void +hsv_rgb(double const in_h, double const in_s, double const in_v, double * const r, double * const g, double * const b) { /*---------------------------------------------------------------------------- This is a stripped down hsv->rgb converter that works only for @@ -110,7 +110,7 @@ main(int argc, char *argv[]) { pm_error("Diameter must be at least 4. You specified %ld", diameter); cols = rows = diameter; - + orow = ppm_allocrow(cols); maxval = PPM_MAXMAXVAL; @@ -137,7 +137,7 @@ main(int argc, char *argv[]) { double dr, dg, db; hue = atan2(dx, dy) / PI * 180.0; - if (hue < 0.0) + if (hue < 0.0) hue = 360.0 + hue; sat = 0.0; val = dist / radius; -- cgit 1.4.1