Skip to content

Commit

Permalink
#144 Add missing CDT_INLINE_IF_HEADER_ONLY
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-ogre committed Oct 5, 2023
1 parent 20297c4 commit 4768b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CDT/include/CDTUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ 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 4768b22

Please sign in to comment.