struct s_light t_light
The struct s_light represents a light's source. This source has a position in space and an intensity ...
t_light point_light(t_point position, t_color intensity)
The function point_light() instances a light's source of type t_light with a given position in space ...
Definition: lights.c:15
struct s_sight t_sight
The struct s_sight represents the human eye looking forwards.
t_point position(t_ray ray, float distance)
The function position() finds the position of a given ray and a given time or distance....
Definition: rays.c:22
The struct s_color stores the color values of ray tracing. It contains a field for red,...
Definition: tuples.h:63
The struct s_light represents a light's source. This source has a position in space and an intensity ...
Definition: lights.h:44
The struct s_sight represents the human eye looking forwards.
Definition: lights.h:62
Tuple means a list of ordered things. The struct t_tuple stores coordinates for a left-handed coordin...
Definition: tuples.h:33