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

Function SwapPolyIndexes

TheForceEngine/TFE_Polygon/clipper.cpp:607–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605//------------------------------------------------------------------------------
606
607inline void SwapPolyIndexes(TEdge &Edge1, TEdge &Edge2)
608{
609 int OutIdx = Edge1.OutIdx;
610 Edge1.OutIdx = Edge2.OutIdx;
611 Edge2.OutIdx = OutIdx;
612}
613//------------------------------------------------------------------------------
614
615inline cInt TopX(TEdge &edge, const cInt currentY)

Callers 1

IntersectEdgesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected