#include <phong_material.h>
Public Member Functions | |
PhongMaterial () | |
A constructor that sets all colors to black and shininess to 0. | |
virtual | ~PhongMaterial () |
A destructor that does nothing. | |
virtual void | accept (Visitor *visitor) |
the shininess (n) | |
Public Attributes | |
Rgba | ambient |
the ambient color (ka) | |
Rgba | diffuse |
the diffuse color (kd) | |
Rgba | specular |
the specular color (ks) | |
float | shininess |
PhongMaterial::PhongMaterial | ( | ) |
A constructor that sets all colors to black and shininess to 0.
virtual PhongMaterial::~PhongMaterial | ( | ) | [virtual] |
A destructor that does nothing.
virtual void PhongMaterial::accept | ( | Visitor * | visitor | ) | [virtual] |
the ambient color (ka)
the diffuse color (kd)
float PhongMaterial::shininess |
the specular color (ks)