Fixed Randomize gradient floating point error

This commit is contained in:
ronaldhordijk 2005-06-26 06:50:15 +00:00
parent d6efa3a794
commit b33e302dbf

View File

@ -83,6 +83,10 @@ var
f, p, q, t, v: double;
begin
try
rgb[0] := 0;
rgb[1] := 0;
rgb[2] := 0;
j := floor(hsv[0]);
f := hsv[0] - j;
v := hsv[2];