Skip to content
Snippets Groups Projects
Commit 68978867 authored by Andrei Gheata's avatar Andrei Gheata
Browse files

Added default arguments for visualizeWavefrontObj.C macro

parent d142c752
No related branches found
No related tags found
No related merge requests found
/// \file
/// \ingroup tutorial_geom
/// Macro allowing to vizualize tessellations from Wavefront's .obj format.
/// Usage:
///
/// \macro_code
///
......@@ -25,7 +24,7 @@ int randomColor()
}
//______________________________________________________________________________
void visualizeWavefrontObj(const char *dot_obj_file, bool check = false)
void visualizeWavefrontObj(const char *dot_obj_file="teddy.obj", bool check = false)
{
// Input a file in .obj format (https://en.wikipedia.org/wiki/Wavefront_.obj_file)
// The file should have a single object inside, only vertex and faces information is used
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment