From fdddfa2b6e469d342bf0b3301a38949c66ea31e4 Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Fri, 16 Jan 2026 16:49:01 -0500 Subject: [PATCH] 503_ARAPParam: take input path from arg if present (#2524) --- tutorial/503_ARAPParam/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tutorial/503_ARAPParam/main.cpp b/tutorial/503_ARAPParam/main.cpp index 951214260..f83c5322e 100644 --- a/tutorial/503_ARAPParam/main.cpp +++ b/tutorial/503_ARAPParam/main.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include @@ -43,7 +43,8 @@ int main(int argc, char *argv[]) { using namespace std; // Load a mesh in OFF format - igl::readOFF(TUTORIAL_SHARED_PATH "/camelhead.off", V, F); + //igl::readOFF(TUTORIAL_SHARED_PATH "/camelhead.off", V, F); + igl::read_triangle_mesh(argc > 1 ? argv[1] : TUTORIAL_SHARED_PATH "/camelhead.off", V, F); // Compute the initial solution for ARAP (harmonic parametrization) Eigen::VectorXi bnd;