diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-21 20:29:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 20:29:56 +0200 |
commit | 28e9aedbddb41f240ff7b416c8359673d3505a79 (patch) | |
tree | 8de874b726bdb1be6ceef3fad3c6a5adf08aafe2 /modules | |
parent | 44d75e3b6d2565e13e4f49d21d5e00dfcc99afd9 (diff) | |
parent | 2969dffbe3dc8cc5fc45f284a935f177f79efab4 (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.cs | 5 |
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( |