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

Example for changing viewer position #188

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

Conversation

smrghsh
Copy link
Contributor

@smrghsh smrghsh commented Sep 10, 2022

Added simple example for changing viewer position.
@stalgiag I'm having trouble getting this example to load in the docs for both firefox and chrome-- but I am unsure if this issue is just on my machine and not on others. In the current version of this draft, I've included the sample in tests\manual-test-examples\p5vr\scratchpad and will remove this later when the sketch loads in the docs.

@stalgiag
Copy link
Owner

Your sketch code wasn't working. As for it working in the docs, your jsdoc file is messed up. Seems like a find and replace gone wrong.

I rewrote your sketch and added it to the jsdoc example for setViewerPosition in this branch.

Tested and working in the docs, in headset, in latest Firefox and Chrome.

@smrghsh
Copy link
Contributor Author

smrghsh commented Oct 11, 2022 via email

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.

2 participants