/ src / mouse.c
mouse.c
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   mouse.c                                            :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: ll-hotel <ll-hotel@student.42.fr>          +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2024/10/25 14:30:39 by ll-hotel          #+#    #+#             */
 9  /*   Updated: 2024/10/25 15:11:20 by ll-hotel         ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #include "cub3D.h"
14  
15  int	mouse_handler(int button, int x, int y, t_cube *cube)
16  {
17  	(void)button;
18  	(void)x;
19  	(void)y;
20  	(void)cube;
21  	return (0);
22  }
23  
24  float	turn_with_mouse(t_cube *cube, t_player *player)
25  {
26  	(void)cube;
27  	player->use_pointer = false;
28  	return (0);
29  }