Skip to content

Commit

Permalink
[3.x] Remove unused struct in GradientTexture1D
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickeon committed Oct 12, 2022
1 parent 2b1544b commit c4eb1ca
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scene/resources/texture.h
Original file line number Diff line number Diff line change
Expand Up @@ -608,15 +608,6 @@ class CurveTexture : public Texture {
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;
Expand Down

0 comments on commit c4eb1ca

Please sign in to comment.