aboutsummaryrefslogtreecommitdiff
path: root/cub3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'cub3d.h')
-rw-r--r--cub3d.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/cub3d.h b/cub3d.h
index 5f48648..00a3374 100644
--- a/cub3d.h
+++ b/cub3d.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 <stdio.h>
@@ -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;