[text] 1 Creates a triangle fron a quad 7 The missing vertex is determined by the ShapeType 77 Yes this function is a bit of a mess but it works b2PolygonShape createtriangleb2Polygonshape shape ShapeType type i int count o int missingvertex getmissingvertextype baveca vertices31 P R i if i missing vertex continue verticescount shape.mverticesil o shape. Setvertices 3 P