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

Method PopScanbeam

TheForceEngine/TFE_Polygon/clipper.cpp:1341–1348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1339//------------------------------------------------------------------------------
1340
1341bool ClipperBase::PopScanbeam(cInt &Y)
1342{
1343 if (m_Scanbeam.empty()) return false;
1344 Y = m_Scanbeam.top();
1345 m_Scanbeam.pop();
1346 while (!m_Scanbeam.empty() && Y == m_Scanbeam.top()) { m_Scanbeam.pop(); } // Pop duplicates.
1347 return true;
1348}
1349//------------------------------------------------------------------------------
1350
1351void ClipperBase::DisposeAllOutRecs(){

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected