void GenerateCapTris(bool flip) { MeshUtility.Triangulate(projectedVerts, ref capTris); if (flip) { MeshUtility.FlipTriangles(ref capTris); } }
private void GenerateSurfaceTris(bool flip) { MeshUtility.Triangulate(projectedVerts, ref surfaceTris); if (flip) { MeshUtility.FlipTriangles(ref surfaceTris); } }