replaced static tutorial_shared_path string with #define
Former-commit-id: bd37fbf7c1
This commit is contained in:
@@ -9,7 +9,7 @@ Eigen::MatrixXi F;
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// Load a mesh in OFF format
|
||||
igl::readOFF(tutorial_shared_path + "/cube.off", V, F);
|
||||
igl::readOFF(TUTORIAL_SHARED_PATH "/cube.off", V, F);
|
||||
|
||||
// Print the vertices and faces matrices
|
||||
std::cout << "Vertices: " << std::endl << V << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user