-
Notifications
You must be signed in to change notification settings - Fork 1
/
ray_tracing_manda_norm.c
21 lines (19 loc) · 1.04 KB
/
ray_tracing_manda_norm.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ray_tracing_manda_norm.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mghalmi <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/28 11:22:48 by mghalmi #+# #+# */
/* Updated: 2024/02/08 13:50:15 by mghalmi ### ########.fr */
/* */
/* ************************************************************************** */
#include "main.h"
void set_color(t_obj cl_fig, t_inter *inter, t_wrapper *w)
{
if (cl_fig.flag != -1)
inter->color = cl_fig.color;
else
inter->color = w->data.bgr;
}