127 float aAlphaChannel);
142 float aAlphaChannel);
157 float aAlphaChannel);
231 #endif // __Material_h void setShininess(float aShininessValue)
Set the shininess of the material.
float m_shininess
Shininess.
Material()
Default constructor.
void setDiffuseColour(float aRedChannel, float aGreenChannel, float aBlueChannel, float aAlphaChannel)
Set the diffuse colour.
Material & operator=(const Material &aMaterial)
Copy operator.
void setSpecularColour(float aRedChannel, float aGreenChannel, float aBlueChannel, float aAlphaChannel)
Set the specular colour.
float m_p_diffuse_colour[4]
Diffuse colour.
float m_p_specular_colour[4]
Specular colour.
void setAmbientColour(float aRedChannel, float aGreenChannel, float aBlueChannel, float aAlphaChannel)
Set the ambient colour.
float getShininess() const
Accessor on the shininess of the material.
const float * getDiffuseColour() const
Accessor on the diffuse colour.
Material is a class to handle materials.
const float * getAmbientColour() const
Accessor on the ambient colour.
Class to handle a material.
float m_p_ambient_colour[4]
Ambient colour.
const float * getSpecularColour() const
Accessor on the specular colour.