Przeglądaj źródła

Expose h2d.col.IPolygon.copy()

Leonardo Jeanteur 1 rok temu
rodzic
commit
2a2416f936
1 zmienionych plików z 1 dodań i 1 usunięć
  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.
 	An abstract around an Array of `IPoint`s that define a polygonal shape that can be collision-tested against.
 	@see `h2d.col.Polygon`
 	@see `h2d.col.Polygon`
 **/
 **/
-@:forward(push,remove)
+@:forward(push,remove,insert,copy)
 abstract IPolygon(Array<IPoint>) from Array<IPoint> to Array<IPoint> {
 abstract IPolygon(Array<IPoint>) from Array<IPoint> to Array<IPoint> {
 	/**
 	/**
 		The underlying Array of vertices.
 		The underlying Array of vertices.