replaced static tutorial_shared_path string with #define

Former-commit-id: bd37fbf7c1
This commit is contained in:
Daniel Crispell
2015-10-17 23:55:35 -04:00
parent 4df6057189
commit 6eae3ca6b0
51 changed files with 70 additions and 79 deletions
+2 -2
View File
@@ -17,11 +17,11 @@ int main(int argc, char *argv[])
MatrixXi F;
// Load a mesh in OFF format
igl::readOFF(tutorial_shared_path + "/cheburashka.off", V, F);
igl::readOFF(TUTORIAL_SHARED_PATH "/cheburashka.off", V, F);
// Read scalar function values from a file, U: #V by 1
VectorXd U;
igl::readDMAT(tutorial_shared_path + "/cheburashka-scalar.dmat",U);
igl::readDMAT(TUTORIAL_SHARED_PATH "/cheburashka-scalar.dmat",U);
// Compute gradient operator: #F*3 by #V
SparseMatrix<double> G;