소스 검색

clone IBounds returns IBounds (#292)

instead of Bounds
Mark Knol 8 년 전
부모
커밋
97dc3ed3fc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;
 	}
 
-}
+}