From: Eric B. <ebo...@us...> - 2002-04-25 19:21:44
|
Update of /cvsroot/alleg/allegro/src In directory usw-pr-cvs1:/tmp/cvs-serv31637/src Modified Files: Tag: allegro_4_0_branch color.c Log Message: Bob and I fixed a bug in the hue blender Index: color.c =================================================================== RCS file: /cvsroot/alleg/allegro/src/color.c,v retrieving revision 1.10 retrieving revision 1.10.2.1 diff -u -d -r1.10 -r1.10.2.1 --- color.c 15 Jan 2002 14:54:01 -0000 1.10 +++ color.c 25 Apr 2002 19:21:37 -0000 1.10.2.1 @@ -353,8 +353,6 @@ *r = *g = *b = (int)v; } else { - while (h < 0) - h += 360; h = fmod(h, 360) / 60.0; i = (int)h; f = h - i; |