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

This is causing the issue we were seeing when more than one note is introduced #62

Open
DavidDePauw1 opened this issue Mar 11, 2024 · 0 comments

Comments

@DavidDePauw1
Copy link

DavidDePauw1 commented Mar 11, 2024

for (PhotonTrackedTarget target : targets) {

This foreach loop is unnecessary and causing the issue. What you meant to write was "for each target, look at each corner to find it's min and max x and y". What you actually wrote was "for each target, look at ALL targets and determine the min and max x and y across all targets". Removing this loop should solve the issue. @Alex-idk

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