uniformed syntax of the name of the parameters of the rect packer
This commit is contained in:
parent
a1c03d2e61
commit
4ab12a165f
|
@ -183,8 +183,8 @@ static bool PackMultiAsObjectOrientedRect(const std::vector< std::vector<Point2x
|
||||||
bbVec.push_back(getPolyOOBB(polyVec[i],rot));
|
bbVec.push_back(getPolyOOBB(polyVec[i],rot));
|
||||||
rotVec.push_back(rot);
|
rotVec.push_back(rot);
|
||||||
}
|
}
|
||||||
|
const Point2i containerSizeI=Point2i::Construct(containerSizeX);
|
||||||
bool ret= RectPacker<float>::PackMulti(bbVec,containerSizeX,containerNum,trVec,indVec,coveredContainerVec);
|
bool ret= RectPacker<float>::PackMulti(bbVec,containerSizeI,containerNum,trVec,indVec,coveredContainerVec);
|
||||||
|
|
||||||
for(size_t i=0;i<polyVec.size();++i)
|
for(size_t i=0;i<polyVec.size();++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue