{"action":"created","issue":{"url":"https://api.github.com/repos/meshmash/Plankton/issues/33","labels_url":"https://api.github.com/repos/meshmash/Plankton/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/meshmash/Plankton/issues/33/comments","events_url":"https://api.github.com/repos/meshmash/Plankton/issues/33/events","html_url":"https://github.com/meshmash/Plankton/issues/33","id":105401824,"number":33,"title":"Incorrect handling of overlapping edges?","user":{"login":"NMO13","id":3988444,"avatar_url":"https://avatars.githubusercontent.com/u/3988444?v=3","gravatar_id":"","url":"https://api.github.com/users/NMO13","html_url":"https://github.com/NMO13","followers_url":"https://api.github.com/users/NMO13/followers","following_url":"https://api.github.com/users/NMO13/following{/other_user}","gists_url":"https://api.github.com/users/NMO13/gists{/gist_id}","starred_url":"https://api.github.com/users/NMO13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NMO13/subscriptions","organizations_url":"https://api.github.com/users/NMO13/orgs","repos_url":"https://api.github.com/users/NMO13/repos","events_url":"https://api.github.com/users/NMO13/events{/privacy}","received_events_url":"https://api.github.com/users/NMO13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T15:06:51Z","updated_at":"2015-09-08T16:14:18Z","closed_at":null,"body":"I'm not 100% sure but I think the following case is not correctly handled:\r\n\r\n            PlanktonMesh pMesh = new PlanktonMesh();\r\n\r\n            pMesh.Vertices.Add(0, 0, 0);\r\n            pMesh.Vertices.Add(5, 0, 0);\r\n            pMesh.Vertices.Add(5, 5, 0);\r\n            pMesh.Vertices.Add(3, -5, 0);\r\n            pMesh.Vertices.Add(7, 0, 0);\r\n\r\n            pMesh.Faces.AddFace(0, 1, 2);\r\n            pMesh.Faces.AddFace(0, 3, 4);\r\n\r\nThis looks something like this:\r\n\r\n![zeichnung1](https://cloud.githubusercontent.com/assets/3988444/9738512/2af8527e-564c-11e5-824f-e10c4fe185f7.png)\r\n\r\n\r\nBut shouldn't it look like this?\r\n\r\n![zeichnung2](https://cloud.githubusercontent.com/assets/3988444/9738658/d51fef1e-564c-11e5-9360-dd41adb30290.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/meshmash/Plankton/issues/comments/138616710","html_url":"https://github.com/meshmash/Plankton/issues/33#issuecomment-138616710","issue_url":"https://api.github.com/repos/meshmash/Plankton/issues/33","id":138616710,"user":{"login":"pearswj","id":121068,"avatar_url":"https://avatars.githubusercontent.com/u/121068?v=3","gravatar_id":"","url":"https://api.github.com/users/pearswj","html_url":"https://github.com/pearswj","followers_url":"https://api.github.com/users/pearswj/followers","following_url":"https://api.github.com/users/pearswj/following{/other_user}","gists_url":"https://api.github.com/users/pearswj/gists{/gist_id}","starred_url":"https://api.github.com/users/pearswj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pearswj/subscriptions","organizations_url":"https://api.github.com/users/pearswj/orgs","repos_url":"https://api.github.com/users/pearswj/repos","events_url":"https://api.github.com/users/pearswj/events{/privacy}","received_events_url":"https://api.github.com/users/pearswj/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T16:14:18Z","updated_at":"2015-09-08T16:14:18Z","body":"Not quite. You need to explicitly specify the fourth vertex if you want it to be included, i.e. `pMesh.Faces.AddFace(0, 3, 4, 1);`\n\n\n\n\n> On 8 Sep 2015, at 16:06, NMO13 <notifications@github.com> wrote:\n> \n> I'm not 100% sure but I think the following case is not correctly handled:\n> \n>         PlanktonMesh pMesh = new PlanktonMesh();\n> \n>         pMesh.Vertices.Add(0, 0, 0);\n>         pMesh.Vertices.Add(5, 0, 0);\n>         pMesh.Vertices.Add(5, 5, 0);\n>         pMesh.Vertices.Add(3, -5, 0);\n>         pMesh.Vertices.Add(7, 0, 0);\n> \n>         pMesh.Faces.AddFace(0, 1, 2);\n>         pMesh.Faces.AddFace(0, 3, 4);\n> This looks something like this:\n> \n>  <https://cloud.githubusercontent.com/assets/3988444/9738464/f0122b8a-564b-11e5-8315-8938ff27071c.png>\n> But shouldn't it look like this?\n>  <https://cloud.githubusercontent.com/assets/3988444/9738471/fdbc4054-564b-11e5-8ee8-799a435ef0c2.png>\n> —\n> Reply to this email directly or view it on GitHub <https://github.com/meshmash/Plankton/issues/33>.\n> \n\n"}}