From 679b5dced1d73d9284bab8965e2f3bf37b3056f4 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 30 Jan 2020 14:18:41 +0100 Subject: fixed ceilling/floor color --- cub3d.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'cub3d.h') diff --git a/cub3d.h b/cub3d.h index 5f48648..00a3374 100644 --- a/cub3d.h +++ b/cub3d.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/15 06:40:37 by cacharle #+# #+# */ -/* Updated: 2020/01/30 12:04:26 by cacharle ### ########.fr */ +/* Updated: 2020/01/30 14:17:19 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include @@ -53,10 +53,10 @@ typedef union unsigned int hexcode; struct { - t_byte empty; - t_byte r; - t_byte g; t_byte b; + t_byte g; + t_byte r; + t_byte empty; } rgb; } t_color; @@ -100,8 +100,6 @@ typedef struct s_state t_bool running; void *mlx_ptr; void *window_ptr; - int window_width; - int window_height; t_vector pos; t_vector dir; t_vector plane; -- cgit