Sfoglia il codice sorgente

clone IBounds returns IBounds (#292)

instead of Bounds
Mark Knol 8 anni fa
parent
commit
97dc3ed3fc
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      h2d/col/IBounds.hx

+ 2 - 2
h2d/col/IBounds.hx

@@ -152,7 +152,7 @@ class IBounds {
 	}
 
 	public inline function clone() {
-		var b = new Bounds();
+		var b = new IBounds();
 		b.xMin = xMin;
 		b.yMin = yMin;
 		b.xMax = xMax;
@@ -216,4 +216,4 @@ class IBounds {
 		return b;
 	}
 
-}
+}