[Interest] Add extra rotation to a quaternion

Megidd Git megiddgit at gmail.com
Sun Apr 5 11:02:12 CEST 2020


Hi!

I have a QQuaternion <https://doc.qt.io/qt-5/qquaternion.html> like:

QQuaternion(scalar:0.707107, vector:(0, 0, 0.707107))

I want to add this extra rotation to my quaternion:

Rotation around point QVector3D(34.5, -40, 7.16294) in XY plane by 180°

I don't know how to convert my extra rotation to quaternion and add it to
my previous quaternion. Can anybody help?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200405/f4f75905/attachment.html>


More information about the Interest mailing list