Commit 53c8554c authored by David Thompson's avatar David Thompson
Browse files

More efficient polygon tessellation.

parent ff3f178b
......@@ -314,8 +314,8 @@ smtk::model::OperatorResult ForceCreateFace::operateInternal()
// V. Add tessellation
poly::polygon_set_data<internal::Coord> polys;
std::vector<poly::polygon_data<internal::Coord> > tess;
polys += pface;
get_trapezoids(tess, polys);
polys = pface;
polys.get_trapezoids(tess);
std::vector<poly::polygon_data<internal::Coord> >::const_iterator pit;
smtk::model::Tessellation blank;
smtk::model::UUIDsToTessellations::iterator smtkTess =
......
Markdown is supported
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