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

SceneGraph: Expose getClosest method #1042

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

Conversation

kaydelaney
Copy link
Contributor

Adds getClosest function to exported sceneGraph object. It's a useful function that I've found myself needing in the main repo from time to time, so I thought it would be worth exposing.

@kaydelaney kaydelaney added the minor Increment the minor version when merged label Jan 31, 2025
@kaydelaney kaydelaney self-assigned this Jan 31, 2025
} from './sceneGraph';
import { getClosest } from './utils';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we also move getClosest from utils to sceneGraph file?

Copy link
Collaborator

@ivanortegaalba ivanortegaalba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's apply Bogdan's comment and LGTM! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged
Projects
Status: 🗂️ Needs Triage / Escalation
Development

Successfully merging this pull request may close these issues.

3 participants