QQuaternion Class

The QQuaternion class represents a quaternion consisting of a vector and scalar. More...

Header: #include <QQuaternion>
qmake: QT += gui
Since: Qt 4.6

This class was introduced in Qt 4.6.

Detailed Description

Quaternions are used to represent rotations in 3D space, and consist of a 3D rotation axis specified by the x, y, and z coordinates, and a scalar representing the rotation angle.