Hello!
When I put this vertex list in DecomposeConvexAndAddTo, I take incorrect result:
But, then I make some change in list, like change first-x-coordinate, result is correct:
How to fix this bug???
P.S. I take source code from: http://code.google.com/p/entonetics/sou ... omposition
When I put this vertex list in DecomposeConvexAndAddTo, I take incorrect result:
Code:
544.000000 -96.000000
544.000000 -160.000000
480.000000 -160.000000
480.000000 -224.000000
544.000000 -224.000000
544.000000 -288.000000
608.000000 -288.000000
608.000000 -224.000000
672.000000 -224.000000
672.000000 -160.000000
608.000000 -160.000000
608.000000 -96.000000
544.000000 -160.000000
480.000000 -160.000000
480.000000 -224.000000
544.000000 -224.000000
544.000000 -288.000000
608.000000 -288.000000
608.000000 -224.000000
672.000000 -224.000000
672.000000 -160.000000
608.000000 -160.000000
608.000000 -96.000000
But, then I make some change in list, like change first-x-coordinate, result is correct:
Code:
545.000000 -96.000000
544.000000 -160.000000
480.000000 -160.000000
480.000000 -224.000000
544.000000 -224.000000
544.000000 -288.000000
608.000000 -288.000000
608.000000 -224.000000
672.000000 -224.000000
672.000000 -160.000000
608.000000 -160.000000
608.000000 -96.000000
544.000000 -160.000000
480.000000 -160.000000
480.000000 -224.000000
544.000000 -224.000000
544.000000 -288.000000
608.000000 -288.000000
608.000000 -224.000000
672.000000 -224.000000
672.000000 -160.000000
608.000000 -160.000000
608.000000 -96.000000
How to fix this bug???
P.S. I take source code from: http://code.google.com/p/entonetics/sou ... omposition