Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
+4 -2
View File
@@ -130,11 +130,13 @@ void CCoverageBuffer::ClipPolygon(PodArray<Vec3>& PolygonOut, const PodArray<Vec
}
// check result
#if !defined(NDEBUG)
for (int i = 0; i < PolygonOut.Count(); i++)
{
float d1 = -ClipPlane.DistFromPlane(PolygonOut.GetAt(i));
float d1 = -ClipPlane.DistFromPlane(PolygonOut.GetAt(i));
assert(d1 >= -0.01f);
}
#endif
assert(PolygonOut.Count() == 0 || PolygonOut.Count() >= 3);
}
@@ -209,4 +211,4 @@ void CPolygonClipContext::GetMemoryUsage(ICrySizer* pSizer) const
{
pSizer->AddObject(m_lstPolygonA);
pSizer->AddObject(m_lstPolygonB);
}
}