From 94edd92248b4742e7d7a8e283da44d505957c50e Mon Sep 17 00:00:00 2001 From: Xavier Cho Date: Mon, 9 Apr 2018 14:30:03 +0900 Subject: [PATCH] #18051: Use common name for Color type argument --- modules/mono/glue/cs_files/Color.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/mono/glue/cs_files/Color.cs b/modules/mono/glue/cs_files/Color.cs index 2389cbd2865..b527eee0f11 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; }