Explorar o código

Expose h2d.col.IPolygon.copy()

Leonardo Jeanteur hai 1 ano
pai
achega
2a2416f936
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.