all tutorial examples compile with static lib
Former-commit-id: b418eb9451
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#define IGL_HEADER_ONLY
|
||||
#include <igl/readOFF.h>
|
||||
#include <igl/writeOBJ.h>
|
||||
#include <iostream>
|
||||
@@ -11,9 +10,9 @@ int main(int argc, char *argv[])
|
||||
// Load a mesh in OFF format
|
||||
igl::readOFF("../shared/cube.off", V, F);
|
||||
|
||||
// Plot the vertices and faces matrices
|
||||
std::cerr << "Vertices: " << std::endl << V << std::endl;
|
||||
std::cerr << "Faces: " << std::endl << F << std::endl;
|
||||
// Print the vertices and faces matrices
|
||||
std::cout << "Vertices: " << std::endl << V << std::endl;
|
||||
std::cout << "Faces: " << std::endl << F << std::endl;
|
||||
|
||||
// Save the mesh in OBJ format
|
||||
igl::writeOBJ("cube.obj",V,F);
|
||||
|
||||
Reference in New Issue
Block a user