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

How can I set the current viewing direction to the center of the image? #65

Closed
miyurusagarage opened this issue Mar 13, 2017 · 2 comments

Comments

@miyurusagarage
Copy link

I want to set the current viewing direction to the center of the image using a button. How can I achieve this?

@mayakraft
Copy link
Owner

this is a good idea. i'm imagining a function that adds a rotation around the vertical poles to the offsetMatrix or something like it, perhaps called something like

-(void)setImageOffsetLongitude:(float)longitude

immediately, it can be hacked by adding a rotateY(amount) right before the sphere draw command

@mayakraft
Copy link
Owner

new property: cardinalOffset. updated in 3caaedc

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

2 participants