rm shader, tutorial uses new viewer refactor

This commit is contained in:
Alec Jacobson
2017-04-16 17:08:54 -04:00
parent 15c328640f
commit fdd42ecfb2
78 changed files with 316 additions and 4341 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#include <igl/readOFF.h>
#include <igl/viewer/Viewer.h>
#include <igl/opengl/glfw/Viewer.h>
#include "tutorial_shared_path.h"
Eigen::MatrixXd V;
@@ -11,7 +11,7 @@ int main(int argc, char *argv[])
igl::readOFF(TUTORIAL_SHARED_PATH "/bunny.off", V, F);
// Plot the mesh
igl::viewer::Viewer viewer;
igl::opengl::glfw::Viewer viewer;
viewer.data.set_mesh(V, F);
viewer.launch();
}