// C/C++ File // AUTHOR: fotonmootn // FILE: inc/fdf.h // ROLE: to rule them all // CREATED: 2017-02-13 20:07:04 // MODIFIED: 2017-02-18 01:11:28 #ifndef FDF_H # define FDF_H #include "libft.h" #include "mlx.h" #include #include typedef struct s_vec { double x; double y; double z; int pos; int color; } t_vec; typedef struct s_edg { int p1; int p2; } t_edg; typedef struct s_mat4 { double mx[4][4]; } t_mat4; typedef struct s_mlx { void *mlx; void *win; } t_mlx; typedef struct s_swap { int swap_x; int swap_coord; } t_swap; void line(t_vec p1, t_vec p2, t_mlx *m); #endif