Changed: Replaced size() by !empty()

This commit is contained in:
kervala 2012-12-03 09:36:45 +01:00
parent 8f19d1d643
commit 930b80c749

View file

@ -127,7 +127,7 @@ void CZone::build(const CZoneInfo &zoneInfo, uint32 numVertices)
// Compute the bbox and the bias/scale.
//=====================================
CAABBox bb;
if(patchs.size())
if(!patchs.empty())
bb.setCenter(patchs[0].Patch.Vertices[0]);
bb.setHalfSize(CVector::Null);
for(j=0;j<(sint)patchs.size();j++)