Skip to content
Discussion options

You must be logged in to vote

There is a vsg::decompose() function that gets the translation, scale and rotation (as a vsg::quart),. but there isn't a vsg::decompose() for Heading, Pitch & Roll.

I've never searched for a decompose to Heading, Pitch and Roll, nor thought about the topic, as I haven't yet found a need in the OSG and VSG projects.

Could you just not just use vsg::quart for rotation, or perhaps find a quaternion to HPR implementation to do what you need?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robertosfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants