Skip to content
Snippets Groups Projects
Commit 483d4c2e authored by Philip Trettner's avatar Philip Trettner
Browse files

updated subs, added some named view examples

parent e511e544
No related branches found
No related tags found
No related merge requests found
glow @ 35192413
Subproject commit 20f6d1bf4cf07ea9232c20b510f069b3e16eda54
Subproject commit 35192413e0a8a52ea88046197d1dad2bfaa9f15f
glow-extras @ b97eece2
Subproject commit d6a9d60840d8a7b5068cf10022bfb4cd77158b0c
Subproject commit b97eece2d72d68f6de7a41a6b9716e9ec5564898
typed-geometry @ 0c65f3ae
Subproject commit b34be03e5f3283b50e0962c9a5de83d6c8e9c1da
Subproject commit 0c65f3ae381cf53588587ae1e570f13f961d1a9d
......@@ -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");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment