[3.x] Remove unused struct in GradientTexture1D

This commit is contained in:
Micky 2022-10-12 18:17:51 +02:00
parent 2b1544b4f4
commit c4eb1ca969

View file

@ -608,15 +608,6 @@ public:
class GradientTexture : public Texture { class GradientTexture : public Texture {
GDCLASS(GradientTexture, Texture); GDCLASS(GradientTexture, Texture);
public:
struct Point {
float offset;
Color color;
bool operator<(const Point &p_ponit) const {
return offset < p_ponit.offset;
}
};
private: private:
Ref<Gradient> gradient; Ref<Gradient> gradient;
bool update_pending; bool update_pending;