uniformed syntax of the name of the parameters of the rect packer

This commit is contained in:
Paolo Cignoni 2013-04-15 20:57:15 +00:00
parent a1c03d2e61
commit 4ab12a165f
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ static bool PackMultiAsObjectOrientedRect(const std::vector< std::vector<Point2x
bbVec.push_back(getPolyOOBB(polyVec[i],rot));
rotVec.push_back(rot);
}
bool ret= RectPacker<float>::PackMulti(bbVec,containerSizeX,containerNum,trVec,indVec,coveredContainerVec);
const Point2i containerSizeI=Point2i::Construct(containerSizeX);
bool ret= RectPacker<float>::PackMulti(bbVec,containerSizeI,containerNum,trVec,indVec,coveredContainerVec);
for(size_t i=0;i<polyVec.size();++i)
{