for the cost of adding SmartHandles.cc with weird include order make smart ranges smarter by letting them know their smart handle types

This commit is contained in:
Max Lyon
2019-09-27 17:08:09 +02:00
parent b5b708a6ba
commit 7c804acef1
4 changed files with 153 additions and 80 deletions

View File

@@ -224,8 +224,8 @@ TEST_F(OpenMeshSmartRanges, ToVector)
{
auto tri_uvs = fh.halfedges().to_vector(uvs);
auto heh_handles = fh.halfedges().to_vector();
// for (auto heh : heh_handles)
// auto n = heh.next();
for (auto heh : heh_handles)
auto n = heh.next();
}
auto vertex_vec = mesh_.vertices().to_vector();