Helper class that compute the color of a vertex given a normal, shading and light parameters. More...
Static Public Member Functions | |
static color | compute_color (const vertex &v, const shading &shading_param, const light &light_param, const camera &camera_param) |
compute the color associated to the current vertex |
Helper class that compute the color of a vertex given a normal, shading and light parameters.
color cpe::vertex_shader::compute_color | ( | const vertex & | v, |
const shading & | shading_param, | ||
const light & | light_param, | ||
const camera & | camera_param | ||
) | [static] |
compute the color associated to the current vertex
References cpe::vertex::c.