corrected harmless bug (misleading j/i scopes in nested for's)
This commit is contained in:
parent
4fa516b8d7
commit
ea5c88be1a
|
@ -67,9 +67,9 @@ public:
|
|||
{
|
||||
float angle = float(i)*(M_PI/2.0)/float(stepNum);
|
||||
Box2f bb;
|
||||
for(size_t i=0;i<poly.size();++i)
|
||||
for(size_t j=0;j<poly.size();++j)
|
||||
{
|
||||
Point2f pp=poly[i];
|
||||
Point2f pp=poly[j];
|
||||
pp.Rotate(angle);
|
||||
bb.Add(pp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue