NavMesh Little Typescript working env. to build a navigation mesh I aim to use this in other projects. Would be better with a sweep line algorithm (Hertel Mehlhorn)