From: Alan W. I. <ai...@us...> - 2005-03-14 22:23:17
|
Update of /cvsroot/plplot/plplot/examples/c In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32024/examples/c Modified Files: x02c.c Log Message: Comprehensive name change plHLS_RGB ==> plhlsrgb plRGB_HLS ==> plrgbhls as discussed on list. This finishes the change for all the existing second examples that used the old names. Of course, the revision of the second example for other bindings is not completed, but if somebody wants to work on that only the new names will be available. Index: x02c.c =================================================================== RCS file: /cvsroot/plplot/plplot/examples/c/x02c.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- x02c.c 9 Mar 2005 15:22:01 -0000 1.17 +++ x02c.c 14 Mar 2005 22:23:07 -0000 1.18 @@ -79,7 +79,7 @@ PLFLT h, l, s; PLFLT r1, g1, b1; - /* Bounds on HLS, from plHLS_RGB() commentary -- + /* Bounds on HLS, from plhlsrgb() commentary -- * hue [0., 360.] degrees * lightness [0., 1.] magnitude * saturation [0., 1.] magnitude @@ -92,7 +92,7 @@ /* Use max saturation */ s = 1.0; - plHLS_RGB(h, l, s, &r1, &g1, &b1); + plhlsrgb(h, l, s, &r1, &g1, &b1); r[i+16] = r1 * 255; g[i+16] = g1 * 255; |