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.
15 lines
305 B
15 lines
305 B
3 years ago
|
#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;
|
||
|
}
|