mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
feat: send single ray
This commit is contained in:
parent
c19b4087b9
commit
b6ac8867e5
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/17 14:14:30 by kcolin #+# #+# */
|
||||
/* Updated: 2025/07/28 13:16:19 by kcolin ### ########.fr */
|
||||
/* Updated: 2025/07/28 15:20:30 by kcolin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ int game_loop(t_cub3d_data *data)
|
|||
start_angle += fraction;
|
||||
column++;
|
||||
}
|
||||
|
||||
|
||||
draw_map(data->map, &data->player, data->img_data);
|
||||
mlx_put_image_to_window(data->mlx, data->mlx_win,
|
||||
data->img_data->img, 0, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue