You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moreover libGDX clips the projection to the line segment. If the projection doesn't fall on the segment, libGDX computes the Euclidean distance to the nearest segment end point.
The text was updated successfully, but these errors were encountered:
This functionality:
https://github.com/Glusk2/sprouts/blob/6e2cf80bc01799d028a767cc0d33f077f50e3334/core/src/main/java/com/github/glusk2/sprouts/geom/PerpDistSimpl.java#L62-L95
is implemented in
libGDX
:Intersector.distanceSegmentPoint(po, p1, x)
Moreover
libGDX
clips the projection to the line segment. If the projection doesn't fall on the segment,libGDX
computes the Euclidean distance to the nearest segment end point.The text was updated successfully, but these errors were encountered: