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

Add "within" support (rectangular axis-alligned region). #22

Closed
wants to merge 4 commits into from

Conversation

VitalyArtemiev
Copy link

#7
Example in distance2d.rs.

Example in within2d.rs

Known issues:
Panic when loc1 is farther along the [1,1] axis than loc2. Could not find a way to check this and swap them inside of the macro.
Move example function back into distance2d.rs; remove within2d.rs.
@VitalyArtemiev VitalyArtemiev deleted the branch laundmo:main October 11, 2023 01:15
@VitalyArtemiev VitalyArtemiev deleted the main branch October 11, 2023 01:15
@VitalyArtemiev VitalyArtemiev restored the main branch October 11, 2023 01:17
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

Successfully merging this pull request may close these issues.

1 participant