Преглед на файлове

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.