You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
305 B
14 lines
305 B
#include <igl/opengl/glfw/Viewer.h>
|
|
#include <igl/readOFF.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
Eigen::MatrixXd V;
|
|
Eigen::MatrixXi F;
|
|
igl::readOFF("../test/examples/bunny.off", V,F);
|
|
igl::opengl::glfw::Viewer viewer;
|
|
viewer.data().set_mesh(V,F);
|
|
viewer.launch();
|
|
|
|
return 0;
|
|
}
|
|
|