Changed the name of the mesh object to triangleMesh