Explorar o código

Merge pull request #66222 from Mickeon/gradual-destruction

Remove unused struct in GradientTexture1D
Rémi Verschelde %!s(int64=3) %!d(string=hai) anos
pai
achega
2d598bbf9a
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      scene/resources/texture.h

+ 0 - 9
scene/resources/texture.h

@@ -769,15 +769,6 @@ public:
 class GradientTexture1D : public Texture2D {
 class GradientTexture1D : public Texture2D {
 	GDCLASS(GradientTexture1D, 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:
 private:
 	Ref<Gradient> gradient;
 	Ref<Gradient> gradient;
 	bool update_pending = false;
 	bool update_pending = false;