fdf/inc/fdf.h
2017-02-21 07:09:36 +02:00

44 lines
588 B
C

// 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 <math.h>
#include <fcntl.h>
typedef struct s_vec
{
float x;
float y;
float z;
int color;
} t_vec;
typedef struct s_mat4
{
float 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