-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6a6d1b
commit 2ade8e9
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,14 @@ | |
/* By: nvienot <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2019/01/21 15:02:50 by nvienot #+# #+# */ | ||
/* Updated: 2019/02/17 19:45:22 by nvienot ### ########.fr */ | ||
/* Updated: 2019/03/24 16:59:33 by nvienot ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#include "libft.h" | ||
|
||
// attention || fin de ligne | ||
|
||
static int ft_base(int nb, int base) | ||
{ | ||
char *base1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
/* By: nvienot <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2019/03/11 18:39:39 by nvienot #+# #+# */ | ||
/* Updated: 2019/03/18 19:51:35 by nvienot ### ########.fr */ | ||
/* Updated: 2019/03/24 16:59:20 by nvienot ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
|
@@ -92,6 +92,7 @@ static int deal_key_2(int key, t_win *w, int a) | |
else if (key == INF && (w->fract == 6 \ | ||
|| w->fract == 12) && w->p.power > 1 && ++a > 0) | ||
w->p.power -= 0.1; | ||
// bloquer max | ||
else if (key == CRF && (w->fract == 6 || w->fract == 12) && ++a > 0) | ||
w->p.power += 1; | ||
else if (key == CRO && (w->fract == 6 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
/* By: nvienot <[email protected]> +#+ +:+ +#+ */ | ||
/* +#+#+#+#+#+ +#+ */ | ||
/* Created: 2019/03/05 20:49:19 by nvienot #+# #+# */ | ||
/* Updated: 2019/03/18 18:51:17 by nvienot ### ########.fr */ | ||
/* Updated: 2019/03/24 16:59:03 by nvienot ### ########.fr */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
|
@@ -28,6 +28,7 @@ void ft_init_mandelbrot(t_win *win) | |
|
||
void ft_init_start(t_win *win) | ||
{ | ||
// a proteger | ||
win->mlx_ptr = mlx_init(); | ||
win->win_ptr = mlx_new_window(win->mlx_ptr, \ | ||
WIN_HOR_SIZE, WIN_VER_SIZE, WIN_NAME); | ||
|