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

Function Abs

TheForceEngine/TFE_Polygon/clipper.cpp:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141//------------------------------------------------------------------------------
142
143inline cInt Abs(cInt val)
144{
145 return val < 0 ? -val : val;
146}
147
148//------------------------------------------------------------------------------
149// PolyTree methods ...

Callers 5

GetOverlapSegmentFunction · 0.85
SetWindingCountMethod · 0.85
IsContributingMethod · 0.85
IntersectEdgesMethod · 0.85
SlopesNearCollinearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected