mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-23 02:24:16 +00:00
Merge pull request #66222 from Mickeon/gradual-destruction
Remove unused struct in GradientTexture1D
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user