Browse Source

Expose h2d.col.IPolygon.copy()

Leonardo Jeanteur 1 year ago
parent
commit
2a2416f936
1 changed files with 1 additions and 1 deletions
  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.