const corners = sortedPoints.map(sv3 => new BABYLON.Vector2(sv3.x, sv3.z))
const polygonTemp = new BABYLON.PolygonMeshBuilder("polytri", corners);
const polygon = polygonTemp.build();
3 Likes
