Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line distance to - zero result #49

Open
theshock opened this issue Feb 19, 2013 · 0 comments
Open

Line distance to - zero result #49

theshock opened this issue Feb 19, 2013 · 0 comments

Comments

@theshock
Copy link
Owner

Code:

new Line(100, 100, 150, 100)
    .distanceTo( new Point(95, 100), false );

Expected: 5

Result: 0

Description:
If point is on infinity line it returns zero always

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant