Commit 6a0c4d0c authored by Philip Trettner's avatar Philip Trettner
Browse files

added future iteration caps for attributes

parent fe7a278f
......@@ -19,6 +19,11 @@
* vertex_handle v; // or _index
* v[myAttr] = 7;
* myAttr[v] = 7;
*
* TODO:
* for (auto& a : myAttr) // NOTE: does not include deleted primitives (and is thus a bit slower)
* a += 1;
* // auto and auto const& also work of course
*/
namespace polymesh
......@@ -116,5 +121,4 @@ struct halfedge_attribute : primitive_attribute<halfedge_tag, AttrT>
template <class mesh_ptr, class tag, class iterator>
friend struct smart_collection;
};
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment