From 3cae53ba70b3b926eec61e2c4d89ac82ffdf6cce Mon Sep 17 00:00:00 2001 From: Micky Date: Wed, 21 Sep 2022 19:05:03 +0200 Subject: Remove unused struct in GradientTexture1D --- scene/resources/texture.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'scene') 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; bool update_pending = false; -- cgit v1.2.3