Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Applying Rotation Quaternions to Vector3D or a new Rotation3D concept? #193

yilangmok started this conversation in Ideas
Discussion options

I'm trying to applying a rotation quaternion to a Vector3D and I'm not seeing any support in the library. I don't see any functions (or operators) that interact with vectors and quaternions. I ended up writting my own extension functions to apply the rotation quaternion qpq*.

Is there an opportunity to add these quaternion/vector interactions to the library, or is there a reason not to (e.g. because quaternions go beyond just rotations)?

Alternatively, would it be better to introduce a Rotation3D class that can be initialized by a quaternion, axis/angle, euler angles, or a matrix, and also return the other forms?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /