traits5.cc 194 Bytes
Newer Older
1 2 3 4 5 6 7
struct MyTraits : public OpenMesh::DefaultTraits 
{
  VertexAttributes( OpenMesh::Attributes::Normal |
		    OpenMesh::Attributes::Color );

  FaceAttributes( OpenMesh::Attributes::Normal );
};