Quellcode durchsuchen

[3.x] Remove unused struct in GradientTexture1D

Micky vor 2 Jahren
Ursprung
Commit
c4eb1ca969
1 geänderte Dateien mit 0 neuen und 9 gelöschten Zeilen
  1. 0 9
      scene/resources/texture.h

+ 0 - 9
scene/resources/texture.h

@@ -608,15 +608,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;