|
cgv
|
>simple class to hold the material properties of a phong material More...
#include <phong_material.hh>
Public Types | |
| typedef color< float, RGB, OPACITY > | color_type |
| >used color type | |
Public Member Functions | |
| phong_material () | |
| construct default material | |
Protected Attributes | |
| color_type | ambient |
| >ambient color component | |
| color_type | diffuse |
| >diffuse color component | |
| color_type | specular |
| >specular color component | |
| color_type | emission |
| >emissive color component | |
| float | shininess |
| >exponent of the specular cosine term | |
>simple class to hold the material properties of a phong material