-
Notifications
You must be signed in to change notification settings - Fork 0
/
frame.c
23 lines (20 loc) · 1.05 KB
/
frame.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* frame.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cyildiri <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/21 23:13:55 by cyildiri #+# #+# */
/* Updated: 2016/12/21 23:13:59 by cyildiri ### ########.fr */
/* */
/* ************************************************************************** */
#include "libgraphics.h"
t_frame new_frame(int height, int width)
{
t_frame frame;
ft_bzero(&frame, sizeof(frame));
frame.height = height;
frame.width = width;
return (frame);
}