Skip to content
Snippets Groups Projects
Commit 075dc9c8 authored by Aaron Grabowy's avatar Aaron Grabowy
Browse files

Fixed range of example that did no longer work

parent 3cae7081
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ void advanced_visualization(pm::vertex_attribute<tg::pos3> const& pos)
gv::view(pos, gv::mapping(vdata).linear(tg::color3::black, tg::color3::red, 0.1f, 0.3f), "vertex data");
// map face data to red (small) to green (big) from 0.05 .. 0.5 (data outside this range is clamped)
gv::view(pos, gv::mapping(fdata).linear(tg::color3::red, tg::color3::green, 0.05f, 0.5f).clamped(), "face data");
gv::view(pos, gv::mapping(fdata).linear(tg::color3::red, tg::color3::green, 0.00001f, 0.001f).clamped(), "face data");
}
// masking
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment