shading.hpp File Reference
+ Include dependency graph for shading.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cpe::shading
 Container for shading parameters (ambiant,diffuse,specular) More...
 

Namespaces

namespace  cpe
 Namespace for CPE classes.
 

Functions

color cpe::apply_shading (const vec3 &p, const vec3 &n, const color &c, const vec3 &light_position, const vec3 &camera_position, const shading &shad)
 Apply gouraud shading. More...