#18051: Use common name for Color type argument

(cherry picked from commit 94edd92248)
This commit is contained in:
Xavier Cho 2018-04-09 14:30:03 +09:00 committed by Hein-Pieter van Braam
parent 3876a8776e
commit 72bcacf2b6
1 changed files with 5 additions and 5 deletions

View File

@ -263,14 +263,14 @@ namespace Godot
); );
} }
public Color LinearInterpolate(Color b, float t) public Color LinearInterpolate(Color c, float t)
{ {
var res = this; var res = this;
res.r += t * (b.r - r); res.r += t * (c.r - r);
res.g += t * (b.g - g); res.g += t * (c.g - g);
res.b += t * (b.b - this.b); res.b += t * (c.b - b);
res.a += t * (b.a - a); res.a += t * (c.a - a);
return res; return res;
} }