Commit 1f6bd19d authored by Marco Amagliani's avatar Marco Amagliani
Browse files

Fixed a bug in coordinate snap to integer for boundary edges. New code checks...

Fixed a bug in coordinate snap to integer for boundary edges. New code checks and eventually updates the start and end uv coordinates of the interior half edge of boundary edges instead of the exterior one and this fix a bug that causes sometimes a missing qaud face near a boundary edge.
The fix makes ReForm produce a good result in a new added test box_open.obj .Before the result had some missing face near the boundary.

[git-p4: depot-paths = "//ReForm/ReForm/main/CoMISo/": change = 11996]
parent 016da17b
......@@ -77,6 +77,10 @@
return nearbyint(_value);
}
inline bool same(const double _x, const double _y, const double _tol)
{
return fabs(_x - _y) < _tol;
}
#endif
......
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