Skip to main content
added 79 characters in body
Source Link
Test
  • 31
  • 3

How do we rotate the camera around x axis 360 degrees, without having to flip the axis, meaning without having the strange flip after we go over +-90 degrees on x axis. Mine behaves exactly the same way spherical coordinates would, I'm using euler angles.

Tried googling, but couldn't find a proper answer, guessing I don't know what exactly to google for, googled 'rotate 360 around x axis', got no proper answers.

References

C++ code: https://pastebin.com/eq6RZ1Gm

https://pastebin.com/BBGdmKGb

Video:

https://drive.google.com/open?id=0Bz3F9j1LiPNTS29XSUJoU2taRXc

How do we rotate the camera around x axis 360 degrees, without having to flip the axis, meaning without having the strange flip after we go over +-90 degrees on x axis. Mine behaves exactly the same way spherical coordinates would, I'm using euler angles.

Tried googling, but couldn't find a proper answer, guessing I don't know what exactly to google for, googled 'rotate 360 around x axis', got no proper answers.

References

C++ code: https://pastebin.com/eq6RZ1Gm

How do we rotate the camera around x axis 360 degrees, without having to flip the axis, meaning without having the strange flip after we go over +-90 degrees on x axis. Mine behaves exactly the same way spherical coordinates would, I'm using euler angles.

Tried googling, but couldn't find a proper answer, guessing I don't know what exactly to google for, googled 'rotate 360 around x axis', got no proper answers.

References

C++ code:

https://pastebin.com/BBGdmKGb

Video:

https://drive.google.com/open?id=0Bz3F9j1LiPNTS29XSUJoU2taRXc

Source Link
Test
  • 31
  • 3

360 degrees rotation around x axis

How do we rotate the camera around x axis 360 degrees, without having to flip the axis, meaning without having the strange flip after we go over +-90 degrees on x axis. Mine behaves exactly the same way spherical coordinates would, I'm using euler angles.

Tried googling, but couldn't find a proper answer, guessing I don't know what exactly to google for, googled 'rotate 360 around x axis', got no proper answers.

References

C++ code: https://pastebin.com/eq6RZ1Gm