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

Need to rotate XY co -ordinates only #25

Open
GoogleCodeExporter opened this issue Jul 29, 2015 · 1 comment
Open

Need to rotate XY co -ordinates only #25

GoogleCodeExporter opened this issue Jul 29, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. How should i disable the Z axis rotation?
2. I need Rotate the object in Left-Right, Right-Left direction only.
3. Disable The Bottom-Top, Top-Bottom Direction of Rotation

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Jun 2013 at 6:32

@GoogleCodeExporter
Copy link
Author

The most convenient way to implement this is slightly modifying the mouse 
control code, just discarding the x-axis rotations.

Goto definition of viewer's mouseMoveHandler method, comment this line(605):

  this.rotMatrix.rotateAboutXAxis(rotX);

Then goto touchMoveHandler method, comment this line(682):

  this.rotMatrix.rotateAboutXAxis(rotX);

And it will be ok.

Original comment by [email protected] on 13 Jun 2013 at 5:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant