瀏覽代碼

Expose h2d.col.IPolygon.copy()

Leonardo Jeanteur 1 年之前
父節點
當前提交
2a2416f936
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h2d/col/IPolygon.hx

+ 1 - 1
h2d/col/IPolygon.hx

@@ -14,7 +14,7 @@ enum OffsetKind {
 	An abstract around an Array of `IPoint`s that define a polygonal shape that can be collision-tested against.
 	@see `h2d.col.Polygon`
 **/
-@:forward(push,remove)
+@:forward(push,remove,insert,copy)
 abstract IPolygon(Array<IPoint>) from Array<IPoint> to Array<IPoint> {
 	/**
 		The underlying Array of vertices.