cpe::vertex_shader Class Reference

Helper class that compute the color of a vertex given a normal, shading and light parameters. More...

List of all members.

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

Detailed Description

Helper class that compute the color of a vertex given a normal, shading and light parameters.


Member Function Documentation

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.


The documentation for this class was generated from the following files: