Skip to content

Commit

Permalink
#144 Proper fix
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-ogre committed Oct 5, 2023
1 parent 4ce8bd4 commit ebbe76b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CDT/include/CDTUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ template <typename T>
CDT_EXPORT T distanceSquared(const V2d<T>& a, const V2d<T>& b);

/// Check if any of triangle's vertices belongs to a super-triangle
CDT_EXPORT bool touchesSuperTriangle(const Triangle& t);
CDT_INLINE_IF_HEADER_ONLY bool touchesSuperTriangle(const Triangle& t);

} // namespace CDT

Expand Down
1 change: 0 additions & 1 deletion CDT/include/CDTUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ T distanceSquared(const V2d<T>& a, const V2d<T>& b)
return distanceSquared(a.x, a.y, b.x, b.y);
}

CDT_INLINE_IF_HEADER_ONLY
bool touchesSuperTriangle(const Triangle& t)
{
return t.vertices[0] < 3 || t.vertices[1] < 3 || t.vertices[2] < 3;
Expand Down

0 comments on commit ebbe76b

Please sign in to comment.