-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate_cam.c
22 lines (19 loc) · 1 KB
/
create_cam.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* create_cam.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dkushche <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/25 12:15:20 by dkushche #+# #+# */
/* Updated: 2018/01/25 12:15:20 by dkushche ### ########.fr */
/* */
/* ************************************************************************** */
#include "rtv1.h"
t_camera create_cam(t_vec pos, t_vec rot)
{
t_camera res;
res.data[0] = pos;
res.data[1] = rot;
return (res);
}