Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
68978867
Commit
68978867
authored
5 years ago
by
Andrei Gheata
Browse files
Options
Downloads
Patches
Plain Diff
Added default arguments for visualizeWavefrontObj.C macro
parent
d142c752
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorials/geom/visualizeWavefrontObj.C
+1
-2
1 addition, 2 deletions
tutorials/geom/visualizeWavefrontObj.C
with
1 addition
and
2 deletions
tutorials/geom/visualizeWavefrontObj.C
+
1
−
2
View file @
68978867
/// \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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment