MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / SwapPoints

Function SwapPoints

TheForceEngine/TFE_Polygon/clipper.cpp:768–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766//------------------------------------------------------------------------------
767
768void SwapPoints(IntPoint &pt1, IntPoint &pt2)
769{
770 IntPoint tmp = pt1;
771 pt1 = pt2;
772 pt2 = tmp;
773}
774//------------------------------------------------------------------------------
775
776bool GetOverlapSegment(IntPoint pt1a, IntPoint pt1b, IntPoint pt2a,

Callers 1

GetOverlapSegmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected