summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-09-21 19:05:03 +0200
committerMicky <micheledevita2@gmail.com>2022-09-21 19:05:03 +0200
commit3cae53ba70b3b926eec61e2c4d89ac82ffdf6cce (patch)
tree5a0b29a2703acda6aea0b3c153d0eb9daa45c4ce
parentb770fa2791f1aeb3296ca91909dd316328582078 (diff)
Remove unused struct in GradientTexture1D
-rw-r--r--scene/resources/texture.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index da4b8046a5..4e529de8ee 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -769,15 +769,6 @@ public:
class GradientTexture1D : public Texture2D {
GDCLASS(GradientTexture1D, Texture2D);
-public:
- struct Point {
- float offset = 0.0;
- Color color;
- bool operator<(const Point &p_ponit) const {
- return offset < p_ponit.offset;
- }
- };
-
private:
Ref<Gradient> gradient;
bool update_pending = false;