shading.cpp File Reference
+ Include dependency graph for shading.cpp:

Namespaces

namespace  cpe
 Namespace for CPE classes.
 

Functions

color cpe::apply_shading (const vertex &v, const scene &scene3d, const shading &shad)
 Apply gouraud shading on the given vertex. More...
 
color cpe::apply_shading (const vec3 &p, const vec3 &n, const color &c, const scene &scene3d, const shading &shad)
 Apply gouraud shading. More...