Sign in to follow this  

Segment Box Distance

Recommended Posts

I'm trying to find an algorithm to find the distance between a line-segment and an OOBB. I have an algo that I don't really understand that's implemented in JiglibX. The problem with this algo is that when the line intersects the box on two points, the returned position cannot be trusted (I need the point closest to the segment origin).

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this