feat: Added an aiming point in the hud

This commit is contained in:
Theo Champion 2025-09-16 14:19:28 +02:00
parent 37bb56733e
commit b94e722ab9

View file

@ -6,7 +6,7 @@
/* By: tchampio <tchampio@student.42lehavre.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/08 17:27:12 by tchampio #+# #+# */
/* Updated: 2025/09/15 13:06:07 by tchampio ### ########.fr */
/* Updated: 2025/09/16 11:28:56 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -86,4 +86,5 @@ void create_hud(t_cub3d_data *data)
draw_round(data);
matrix_image_put(data, data->player.weapon.texture,
WIDTH / 2, HEIGHT - 175);
matrix_set(data, WIDTH / 2, HEIGHT / 2, 0x0000FF00);
}