fix mouse hook
This commit is contained in:
parent
47a774f975
commit
4a955f0f17
1 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/03/24 19:21:45 by gtertysh #+# #+# */
|
||||
/* Updated: 2017/03/24 19:21:46 by gtertysh ### ########.fr */
|
||||
/* Updated: 2017/03/24 21:12:49 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)
|
||||
{
|
||||
fr->frac->com_const.im += 0.01;
|
||||
fr->frac->com_const.im += 0.05;
|
||||
to_render = 1;
|
||||
}
|
||||
*start_x = x;
|
||||
|
@ -38,7 +38,7 @@ int change_imagianry(t_fractol *fr, int x, int *start_x)
|
|||
{
|
||||
if (fr->frac->com_const.im > -4)
|
||||
{
|
||||
fr->frac->com_const.im -= 0.1;
|
||||
fr->frac->com_const.im -= 0.05;
|
||||
to_render = 1;
|
||||
}
|
||||
*start_x = x;
|
||||
|
@ -55,7 +55,7 @@ int change_real(t_fractol *fr, int x, int *start_x)
|
|||
{
|
||||
if (fr->frac->com_const.rl < 3)
|
||||
{
|
||||
fr->frac->com_const.rl += 0.1;
|
||||
fr->frac->com_const.rl += 0.05;
|
||||
to_render = 1;
|
||||
}
|
||||
*start_x = x;
|
||||
|
@ -64,7 +64,7 @@ int change_real(t_fractol *fr, int x, int *start_x)
|
|||
{
|
||||
if (fr->frac->com_const.rl > -4)
|
||||
{
|
||||
fr->frac->com_const.rl -= 0.1;
|
||||
fr->frac->com_const.rl -= 0.05;
|
||||
to_render = 1;
|
||||
}
|
||||
*start_x = x;
|
||||
|
|
Loading…
Add table
Reference in a new issue