diff options
| author | Xavier Cho | 2018-04-09 14:30:03 +0900 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-29 13:40:04 +0200 |
| commit | 72bcacf2b6aa896bf7e166657828f4ee9c15b540 (patch) | |
| tree | 0755949810b1bd8bf3a04eaf53e44e45123b365c /modules | |
| parent | 3876a8776ee1c972a1449aa320b5d4abef4021df (diff) | |
| download | godot-72bcacf2b6aa896bf7e166657828f4ee9c15b540.tar.gz godot-72bcacf2b6aa896bf7e166657828f4ee9c15b540.tar.zst godot-72bcacf2b6aa896bf7e166657828f4ee9c15b540.zip | |
#18051: Use common name for Color type argument
(cherry picked from commit 94edd92248b4742e7d7a8e283da44d505957c50e)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mono/glue/cs_files/Color.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/mono/glue/cs_files/Color.cs b/modules/mono/glue/cs_files/Color.cs index 2389cbd28..b527eee0f 100644 --- a/modules/mono/glue/cs_files/Color.cs +++ b/modules/mono/glue/cs_files/Color.cs @@ -263,14 +263,14 @@ namespace Godot ); } - public Color LinearInterpolate(Color b, float t) + public Color LinearInterpolate(Color c, float t) { var res = this; - res.r += t * (b.r - r); - res.g += t * (b.g - g); - res.b += t * (b.b - this.b); - res.a += t * (b.a - a); + res.r += t * (c.r - r); + res.g += t * (c.g - g); + res.b += t * (c.b - b); + res.a += t * (c.a - a); return res; } |
