The struct s_sight represents the human eye looking forwards. More...
#include <lights.h>
Data Fields | |
t_vector | eyev |
t_vector | normalv |
The struct s_sight represents the human eye looking forwards.
For the Phong Reflection Model algorithm, this human sight has an eye vision, which is the direction where the eyes are looking at and it also has a normal vision, i.e., the perpendicular vector from where the eye vision is looking at.
eyev | Represents the eye's vector looking at something. |
normalv | Represents the normal vector of some surface. |