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

Distance constraint? #9

Open
zacklitzsinger opened this issue Mar 12, 2024 · 1 comment
Open

Distance constraint? #9

zacklitzsinger opened this issue Mar 12, 2024 · 1 comment

Comments

@zacklitzsinger
Copy link

As far as I can tell, this library doesn't support squares or square roots. As a result, I'm not sure if the library even supports adding constraints that are distance-based. For example, a point (x1, y1) and point (x2, y2) with a constant distance as a constraint. Am I missing something?

@gundy
Copy link

gundy commented Oct 25, 2024

Could you just check against distance² instead?

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

2 participants