+ avoid creating two coincident vertices (needs more testing)

This commit is contained in:
artemp 2013-02-12 15:51:40 +00:00
parent b50330c40e
commit 8b757a1c7e

View file

@ -200,14 +200,15 @@ namespace agg
*x++ = (T)(x1 + touty * deltax);
*y++ = (T)yout;
}
++np;
}
else
else if(*x != x2 && *y != y2)
{
*x++ = x2;
*y++ = y2;
}
++np;
}
}
else
{
if(tinx > tiny)