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 to control the video's viewport in code? #48

Open
JamesXu20150314 opened this issue Mar 27, 2017 · 0 comments
Open

How to control the video's viewport in code? #48

JamesXu20150314 opened this issue Mar 27, 2017 · 0 comments

Comments

@JamesXu20150314
Copy link

JamesXu20150314 commented Mar 27, 2017

Hello,

I want to control the video's viewport in code, but I don't know how to modified the code,
Should I modify the following code:

var update = quat.fromValues(controls.manualRotateRate[0] * interval,
controls.manualRotateRate[1] * interval,
controls.manualRotateRate[2] * interval, 1.0);
quat.normalize(update, update);
quat.multiply(manualRotation, manualRotation, update);

Also, what's the four number's means in manualRotation?

Who could help me. Thank you very much.

Yours Sincerely,
James Xu

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