mirror of https://github.com/axmolengine/axmol.git
Remove unused local variable (#16698)
This commit is contained in:
parent
93609ff586
commit
dde86b404a
|
@ -552,7 +552,6 @@ std::vector<Vec2> AutoPolygon::expand(const std::vector<Vec2>& points, const coc
|
||||||
while(p2->IsHole()){
|
while(p2->IsHole()){
|
||||||
p2 = p2->GetNext();
|
p2 = p2->GetNext();
|
||||||
}
|
}
|
||||||
auto end = p2->Contour.end();
|
|
||||||
for(const auto& pt : p2->Contour)
|
for(const auto& pt : p2->Contour)
|
||||||
{
|
{
|
||||||
outPoints.push_back(Vec2(pt.X/PRECISION, pt.Y/PRECISION));
|
outPoints.push_back(Vec2(pt.X/PRECISION, pt.Y/PRECISION));
|
||||||
|
|
Loading…
Reference in New Issue