summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-21 20:29:56 +0200
committerGitHub <noreply@github.com>2018-08-21 20:29:56 +0200
commit28e9aedbddb41f240ff7b416c8359673d3505a79 (patch)
tree8de874b726bdb1be6ceef3fad3c6a5adf08aafe2 /modules
parent44d75e3b6d2565e13e4f49d21d5e00dfcc99afd9 (diff)
parent2969dffbe3dc8cc5fc45f284a935f177f79efab4 (diff)
Merge pull request #21267 from akien-mga/color-grayscale
Deprecate incorrect Color::gray()
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/cs_files/Color.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/mono/glue/cs_files/Color.cs b/modules/mono/glue/cs_files/Color.cs
index 1195071bd3..49e04b333a 100644
--- a/modules/mono/glue/cs_files/Color.cs
+++ b/modules/mono/glue/cs_files/Color.cs
@@ -258,11 +258,6 @@ namespace Godot
return res;
}
- public float Gray()
- {
- return (r + g + b) / 3.0f;
- }
-
public Color Inverted()
{
return new Color(