mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 06:35:52 +08:00
rename Color to ColorFactor
Signed-off-by: Arthur Brainville (Ybalrid) <ybalrid@ybalrid.info>
This commit is contained in:
parent
41fe772058
commit
9585391311
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user