material associated to a given object (color+shading data) More...
Public Member Functions | |
material (const color &c, const shading &shading_parameters) | |
direct constructor (color+shading) | |
Public Attributes | |
color | c |
original color of the object | |
shading | shading_parameters |
shading parameter to compute illumination |
material associated to a given object (color+shading data)
cpe::material::material | ( | const color & | c, |
const shading & | shading_parameters | ||
) |
direct constructor (color+shading)
original color of the object
Referenced by cpe::ray_tracer::compute_color().
shading parameter to compute illumination