some changes in mouse control and in header file
This commit is contained in:
		
							parent
							
								
									cea72dc4b8
								
							
						
					
					
						commit
						811e2c57df
					
				
					 2 changed files with 3 additions and 5 deletions
				
			
		|  | @ -6,7 +6,7 @@ | |||
| /*   By: gtertysh <marvin@42.fr>                    +#+  +:+       +#+        */ | ||||
| /*                                                +#+#+#+#+#+   +#+           */ | ||||
| /*   Created: 2017/03/16 20:59:04 by gtertysh          #+#    #+#             */ | ||||
| /*   Updated: 2017/03/24 19:58:43 by gtertysh         ###   ########.fr       */ | ||||
| /*   Updated: 2017/03/25 17:36:38 by gtertysh         ###   ########.fr       */ | ||||
| /*                                                                            */ | ||||
| /* ************************************************************************** */ | ||||
| 
 | ||||
|  | @ -16,10 +16,8 @@ | |||
| # include "libft.h" | ||||
| # include "mlx.h" | ||||
| # include <math.h> | ||||
| # include <fcntl.h> | ||||
| # include <pthread.h> | ||||
| # include <time.h> | ||||
| # include <unistd.h> | ||||
| 
 | ||||
| # define HEIGHT			700 | ||||
| # define WIDTH			1300 | ||||
|  |  | |||
|  | @ -6,7 +6,7 @@ | |||
| /*   By: gtertysh <marvin@42.fr>                    +#+  +:+       +#+        */ | ||||
| /*                                                +#+#+#+#+#+   +#+           */ | ||||
| /*   Created: 2017/03/24 19:37:32 by gtertysh          #+#    #+#             */ | ||||
| /*   Updated: 2017/03/24 19:37:33 by gtertysh         ###   ########.fr       */ | ||||
| /*   Updated: 2017/03/25 17:35:04 by gtertysh         ###   ########.fr       */ | ||||
| /*                                                                            */ | ||||
| /* ************************************************************************** */ | ||||
| 
 | ||||
|  | @ -46,7 +46,7 @@ t_frac_data			*frac_init(int frac_type) | |||
| 	else | ||||
| 		complex_equal(0, 0, &f->com_const); | ||||
| 	f->com_rl_im_change = 1; | ||||
| 	f->allow_mouse_change = -1; | ||||
| 	f->allow_mouse_change = 1; | ||||
| 	f->mov.x = 0; | ||||
| 	f->mov.y = 0; | ||||
| 	f->mov.z = 1; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Gregory Tertyshny
						Gregory Tertyshny