From: <sun...@us...> - 2004-10-31 15:44:18
|
Update of /cvsroot/crystal/CS/include/ivideo In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14924/include/ivideo Modified Files: material.h Log Message: Some NR-related 'const' adjustments. Index: material.h =================================================================== RCS file: /cvsroot/crystal/CS/include/ivideo/material.h,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- material.h 31 Oct 2004 12:10:59 -0000 1.36 +++ material.h 31 Oct 2004 15:43:37 -0000 1.37 @@ -147,8 +147,8 @@ * Get the flat color. If the material has a texture assigned, this * will return the mean texture color. */ - virtual void GetFlatColor (csRGBpixel &oColor, - bool useTextureMean = true) const = 0; + virtual void GetFlatColor (csRGBpixel &oColor, + bool useTextureMean = true) = 0; /** * Set the flat shading color. */ @@ -158,7 +158,7 @@ * Get light reflection parameters for this material. */ virtual void GetReflection ( - float &oDiffuse, float &oAmbient, float &oReflection) const = 0; + float &oDiffuse, float &oAmbient, float &oReflection) = 0; /** * Set the reflection parameters. */ @@ -201,13 +201,13 @@ * Get the flat color. If the material has a texture assigned, this * will return the mean texture color. */ - virtual void GetFlatColor (csRGBpixel &oColor) const = 0; + virtual void GetFlatColor (csRGBpixel &oColor) = 0; /** * Get light reflection parameters for this material. */ virtual void GetReflection (float &oDiffuse, float &oAmbient, - float &oReflection) const = 0; + float &oReflection) = 0; }; /** @} */ |