fix bug in mouse moution

This commit is contained in:
Gregory Tertyshny 2017-03-25 15:02:48 +02:00
parent ec0d447081
commit cea72dc4b8

View file

@ -6,7 +6,7 @@
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */ /* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/24 19:21:45 by gtertysh #+# #+# */ /* Created: 2017/03/24 19:21:45 by gtertysh #+# #+# */
/* Updated: 2017/03/25 14:53:26 by gtertysh ### ########.fr */ /* Updated: 2017/03/25 15:02:31 by gtertysh ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -29,7 +29,7 @@ int change_imagianry(t_fractol *fr, int x, int *start_x)
{ {
if (fr->frac->com_const.im < 3) if (fr->frac->com_const.im < 3)
{ {
fr->frac->com_const.im += 0.01; fr->frac->com_const.im += 0.1;
to_render = 1; to_render = 1;
} }
*start_x = x; *start_x = x;