little compilation fix

This commit is contained in:
mcolonna 2024-11-07 19:25:28 +01:00
parent fd4fb3c93f
commit 6eb1479fc5
2 changed files with 8 additions and 4 deletions

View file

@ -6,13 +6,17 @@
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/07 19:02:04 by mc #+# #+# */
/* Updated: 2024/11/07 19:02:15 by mc ### ########.fr */
/* Updated: 2024/11/07 19:24:05 by mc ### ########.fr */
/* */
/* ************************************************************************** */
#include "input_utils.h"
static int hook_mousemove(int x, int y)
#include "const.h"
#include "utils.h"
#include "global.h"
int hook_mousemove(int x, int y)
{
static const t_point_int window_middle = {
SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2};

View file

@ -6,7 +6,7 @@
/* By: mc <mc@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/07 19:02:26 by mc #+# #+# */
/* Updated: 2024/11/07 19:03:02 by mc ### ########.fr */
/* Updated: 2024/11/07 19:22:55 by mc ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,6 +15,6 @@
# include "input.h"
static int hook_mousemove(int x, int y);
int hook_mousemove(int x, int y);
#endif