78 float light_dot_normal;
79 float reflect_dot_eye;
t_material material(void)
The function material() instances a new material of struct type t_material with the following default...
Definition: materials.c:20
struct s_material t_material
A material has a surface color and four attributes from the Phong Reflection Model: ambient,...
struct s_exposure t_exposure
The struct s_exposure contains the necessary fields to calculate the a scene's lighting....
The struct s_color stores the color values of ray tracing. It contains a field for red,...
Definition: tuples.h:63
The struct s_exposure contains the necessary fields to calculate the a scene's lighting....
Definition: materials.h:74
A material has a surface color and four attributes from the Phong Reflection Model: ambient,...
Definition: materials.h:43
The type t_pattern contatins all the necessary information to apply a texture on a given shape's surf...
Definition: patterns.h:123
Tuple means a list of ordered things. The struct t_tuple stores coordinates for a left-handed coordin...
Definition: tuples.h:33