fix bug in mouse moution
This commit is contained in:
parent
ec0d447081
commit
cea72dc4b8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue