cpe::material Struct Reference

material associated to a given object (color+shading data) More...

+ Collaboration diagram for cpe::material:

List of all members.

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

Detailed Description

material associated to a given object (color+shading data)


Constructor & Destructor Documentation

cpe::material::material ( const color c,
const shading shading_parameters 
)

direct constructor (color+shading)


Member Data Documentation

original color of the object

Referenced by cpe::ray_tracer::compute_color().

shading parameter to compute illumination


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