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

Implement closest(ray,point) #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

meintte
Copy link

@meintte meintte commented Feb 4, 2024

This PR implements closest(ray, point). This is a special case of closest(line, point) where the clamping only needs to occur at the origin (i.e. in the negative ray direction).

Additionally:

  • The comment above the function follows now the quick navigation convention
  • The function is made constexpr

@OneLoneCoder
Copy link
Owner

Added a discussion page #57

@OneLoneCoder OneLoneCoder added duplicate This issue or pull request already exists discussion Has a discussion page labels Feb 5, 2024
@OneLoneCoder OneLoneCoder mentioned this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Has a discussion page duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants