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
+3 -3
View File
@@ -10,7 +10,7 @@
#include <igl/copyleft/comiso/nrosy.h>
#include <igl/copyleft/comiso/miq.h>
#include <igl/copyleft/comiso/frame_field.h>
#include <igl/viewer/Viewer.h>
#include <igl/opengl/glfw/Viewer.h>
#include "tutorial_shared_path.h"
@@ -68,7 +68,7 @@ void line_texture(Eigen::Matrix<unsigned char,Eigen::Dynamic,Eigen::Dynamic> &te
texture_B = texture_R;
}
bool key_down(igl::viewer::Viewer& viewer, unsigned char key, int modifier)
bool key_down(igl::opengl::glfw::Viewer& viewer, unsigned char key, int modifier)
{
using namespace std;
using namespace Eigen;
@@ -245,7 +245,7 @@ int main(int argc, char *argv[])
false,
2);
igl::viewer::Viewer viewer;
igl::opengl::glfw::Viewer viewer;
// Plot the original mesh with a texture parametrization
key_down(viewer,'6',0);