diff options
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/FrsMaterial.h')
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/FrsMaterial.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/FrsMaterial.h b/source/blender/freestyle/intern/scene_graph/FrsMaterial.h index c5a87c3baaf..80cd783f164 100644 --- a/source/blender/freestyle/intern/scene_graph/FrsMaterial.h +++ b/source/blender/freestyle/intern/scene_graph/FrsMaterial.h @@ -36,14 +36,14 @@ class FrsMaterial { /*! Default constructor */ inline FrsMaterial(); - /*! Builds a Material from its line, diffuse, ambiant, specular, emissive + /*! Builds a Material from its line, diffuse, ambient, specular, emissive * colors, a shininess coefficient and line color priority. * \param iLine: * A 4 element float-array containing the line color. * \param iDiffuse: * A 4 element float-array containing the diffuse color. * \param iAmbiant: - * A 4 element float-array containing the ambiant color. + * A 4 element float-array containing the ambient color. * \param iSpecular: * A 4 element float-array containing the specular color. * \param iEmission: @@ -159,31 +159,31 @@ class FrsMaterial { return Specular[3]; } - /*! Returns the ambiant color as a 4 float array */ + /*! Returns the ambient color as a 4 float array */ inline const float *ambient() const { return Ambient; } - /*! Returns the red component of the ambiant color */ + /*! Returns the red component of the ambient color */ inline const float ambientR() const { return Ambient[0]; } - /*! Returns the green component of the ambiant color */ + /*! Returns the green component of the ambient color */ inline const float ambientG() const { return Ambient[1]; } - /*! Returns the blue component of the ambiant color */ + /*! Returns the blue component of the ambient color */ inline const float ambientB() const { return Ambient[2]; } - /*! Returns the alpha component of the ambiant color */ + /*! Returns the alpha component of the ambient color */ inline const float ambientA() const { return Ambient[3]; @@ -267,7 +267,7 @@ class FrsMaterial { */ inline void setSpecular(const float r, const float g, const float b, const float a); - /*! Sets the ambiant color. + /*! Sets the ambient color. * \param r: * Red component * \param g: |