fix: Made crosshair bigger

This commit is contained in:
Theo Champion 2025-10-07 13:41:19 +02:00
parent 0e99c6da49
commit cf3801702d

View file

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* hud.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
/* By: freddy <freddy@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/08 17:27:12 by tchampio #+# #+# */
/* Updated: 2025/09/17 16:55:05 by tchampio ### ########.fr */
/* Updated: 2025/10/07 13:41:00 by freddy ### ########.fr */
/* */
/* ************************************************************************** */
@ -91,4 +91,8 @@ void create_hud(t_cub3d_data *data)
matrix_image_put(data, data->player.weapon->texture,
WIDTH / 2, HEIGHT - 175);
matrix_set(data, WIDTH / 2, HEIGHT / 2, 0x0000FF00);
matrix_set(data, WIDTH / 2 + 1, HEIGHT / 2, 0x0000FF00);
matrix_set(data, WIDTH / 2 - 1, HEIGHT / 2, 0x0000FF00);
matrix_set(data, WIDTH / 2, HEIGHT / 2 + 1, 0x0000FF00);
matrix_set(data, WIDTH / 2, HEIGHT / 2 - 1, 0x0000FF00);
}