mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 21:56:13 +00:00
Changed: Replaced size() by !empty()
This commit is contained in:
parent
bde7ad43ba
commit
ef9644df28
1 changed files with 1 additions and 1 deletions
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue