- cleanup in the tutorial ordering
- started global cmakelist to compile all examples - cleanup in the cmake building system for the tutorials
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#include <igl/readOFF.h>
|
||||
#include <igl/viewer/Viewer.h>
|
||||
|
||||
Eigen::MatrixXd V;
|
||||
Eigen::MatrixXi F;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// Load a mesh in OFF format
|
||||
igl::readOFF("../shared/bunny.off", V, F);
|
||||
|
||||
// Plot the mesh
|
||||
igl::Viewer viewer;
|
||||
viewer.set_mesh(V, F);
|
||||
viewer.launch();
|
||||
}
|
||||
Reference in New Issue
Block a user