new maps for gif
This commit is contained in:
@@ -80,7 +80,9 @@ int color_percent(t_fdf *fdf, int *p_start, int *p_end, int p_numerator, int p_d
|
||||
p_numerator = p_denominator - p_numerator;
|
||||
}
|
||||
if (p_denominator != 0)
|
||||
percent = (start + line * p_numerator / p_denominator) / z_total;
|
||||
percent = (start + line * p_numerator / p_denominator);
|
||||
if (z_total != 0)
|
||||
percent /= z_total;
|
||||
else
|
||||
percent = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user