rename Color to ColorFactor

Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
This commit is contained in:
Arthur Brainville 2018-01-08 18:37:44 +01:00
parent 41fe772058
commit 9585391311
No known key found for this signature in database
GPG Key ID: BC05C4812A06BCF3

View File

@ -357,7 +357,7 @@ using ColorValue = std::array<double, 4>;
///Return the color of a material
///Returned value is only valid if the parameter represent a texture from a material
ColorValue Color() const {
ColorValue ColorFactor() const {
return {
{ // this agregate intialize the std::array object, and uses C++11 RVO.
number_array[0],