title: Miss two vertices on PolygonShape object
body: <p>I've some trouble with PolygonShape object box2D.
  I've 8 vertices drawing code:</p>
  
  <pre><code>float scaleW = width/12;
  float scaleH = height/2;
  chassisShape.set(new float[] {-scaleW*2,scaleH,  scaleW*2,scaleH,  scaleW*3,0,      scaleW*7,0,  scaleW*7,-scaleH,  -scaleW*5,-scaleH,  -scaleW*5,0,  -scaleW*3,0});
  </code></pre>
  
  <p>But this render an 6 vertices polygon only.
  Where is the 2 missing vertices?</p>
  
  <p>Screenshot:
  <a href="http://imgur.com/QT05beN.png" rel="nofollow">http://imgur.com/QT05beN.png</a></p>
  
  <p>Maybe i've made an error, but I verified many time and I don't see what happen.</p>
  
  <p>Thanks for your help!</p>
  
  <p>EDIT:
  Thanks for your help.
  Maybe I didn't understand what is convex polygon, because I was pretty sure that was convex:</p>
  
  <p>Screen of my prototype: <a href="http://i.imgur.com/bR7nqVt.png" rel="nofollow">http://i.imgur.com/bR7nqVt.png</a></p>
  
  <p>So if I respect this skeleton, were is my error in my code? (counter-clockwise? or this is not convex too?)</p>
  
  <p>EDIT2: Okay I just see that: if the angle is bigger than 180°, it's concave, so I have to change the shape for be simple than a triangulation.</p>