Remove unused struct in GradientTexture1D

This commit is contained in:
Micky 2022-10-12 18:17:51 +02:00 committed by Relintai
parent a70e3ce4b3
commit 4e68cd0251

View File

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