-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvector_init.c
More file actions
23 lines (20 loc) · 1.01 KB
/
vector_init.c
File metadata and controls
23 lines (20 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* vector_init.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: kaan <kaan@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/06 12:23:32 by kaan #+# #+# */
/* Updated: 2024/08/25 17:42:05 by kaan ### ########.fr */
/* */
/* ************************************************************************** */
#include "minirt.h"
t_vec vec(double x, double y, double z)
{
t_vec output;
output.x = x;
output.y = y;
output.z = z;
return (output);
}