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 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... | |