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

Scene#lookTo opts 'closest' misnamed #444

Open
MCastro34 opened this issue Oct 20, 2022 · 0 comments
Open

Scene#lookTo opts 'closest' misnamed #444

MCastro34 opened this issue Oct 20, 2022 · 0 comments

Comments

@MCastro34
Copy link

Hello,

I've detected that the 'closest' opts in the lookTo function, as detailed in the JSDoc (https://www.marzipano.net/reference/Scene.html), does not work as intended.

After analysing the source code, I found out that the name of the parameter is 'shortest' instead of 'closest'. I tested with the new parameter name and it worked as expected.

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