Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glow-samples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
Show more breadcrumbs
Zain Selman
glow-samples
Commits
483d4c2e
Commit
483d4c2e
authored
5 years ago
by
Philip Trettner
Browse files
Options
Downloads
Patches
Plain Diff
updated subs, added some named view examples
parent
e511e544
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
extern/glow
+1
-1
1 addition, 1 deletion
extern/glow
extern/glow-extras
+1
-1
1 addition, 1 deletion
extern/glow-extras
extern/typed-geometry
+1
-1
1 addition, 1 deletion
extern/typed-geometry
samples/wip/viewer/main.cc
+4
-2
4 additions, 2 deletions
samples/wip/viewer/main.cc
with
7 additions
and
5 deletions
glow
@
35192413
Subproject commit
20f6d1bf4cf07ea9232c20b510f069b3e16eda54
Subproject commit
35192413e0a8a52ea88046197d1dad2bfaa9f15f
This diff is collapsed.
Click to expand it.
glow-extras
@
b97eece2
Subproject commit
d6a9d60840d8a7b5068cf10022bfb4cd77158b0c
Subproject commit
b97eece2d72d68f6de7a41a6b9716e9ec5564898
This diff is collapsed.
Click to expand it.
typed-geometry
@
0c65f3ae
Subproject commit
b34be03e5f3283b50e0962c9a5de83d6c8e9c1da
Subproject commit
0c65f3ae381cf53588587ae1e570f13f961d1a9d
This diff is collapsed.
Click to expand it.
samples/wip/viewer/main.cc
+
4
−
2
View file @
483d4c2e
...
...
@@ -60,6 +60,8 @@ int main()
view
(
pos
);
}
// named view
view
(
pos
,
"Suzanne"
);
// smooth normals
view
(
polygons
(
pos
).
smooth_normals
());
...
...
@@ -69,13 +71,13 @@ int main()
GLOW_VIEWER_CONFIG
(
glow
::
viewer
::
print_mode
);
// Colored faces
view
(
pos
,
fcolors
);
view
(
pos
,
fcolors
,
"colored faces"
);
{
GLOW_VIEWER_CONFIG
(
glow
::
viewer
::
no_shadow
);
// Colored vertices
view
(
pos
,
vcolors
);
view
(
pos
,
vcolors
,
"colored vertices"
);
}
}
...
...
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