selected_data -> data to make the transition of old code easier. Old code can be simply converted by adding () after data

Former-commit-id: 02c8268a61
This commit is contained in:
Daniele Panozzo
2018-02-03 20:30:17 -05:00
parent 0a18442c6b
commit 7af7f2cd2e
58 changed files with 419 additions and 419 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ int main(int argc, char *argv[])
// Plot the mesh with pseudocolors
igl::opengl::glfw::Viewer viewer;
viewer.selected_data().set_mesh(V, F);
viewer.selected_data().set_colors(C);
viewer.data().set_mesh(V, F);
viewer.data().set_colors(C);
viewer.launch();
}