Put UpdateNormals function outside the mesh class.