public static Mesh GetSmoothVersionOf(Mesh sourceMesh, int iterations = 1, float alpha = 0, float beta = .5f) { var workingMesh = sourceMesh.Clone(); for (int i = 0; i < iterations; i++) workingMesh.vertices = HCFilter(sourceMesh.vertices, workingMesh.vertices, workingMesh.triangles, alpha, beta); return workingMesh; }