-
Notifications
You must be signed in to change notification settings - Fork 0
/
fdf.c
23 lines (21 loc) · 1.1 KB
/
fdf.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* fdf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vfuhlenb <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/11 12:05:23 by vfuhlenb #+# #+# */
/* Updated: 2022/05/20 17:23:00 by vfuhlenb ### ########.fr */
/* */
/* ************************************************************************** */
#include "fdf.h"
// initialize parameters and renders the window
void fdf(t_fdf *data)
{
data->scale = 70;
data->offset_x = data->win_size_x / 5;
data->offset_y = (data->win_size_y / 3) * -1;
data->scale_h = 1;
render_fdf(data);
}