VICUS Library
Documentation of Vicus library
|
#include <VICUS_RotationMatrix.h>
Public Member Functions | |
RotationMatrix () | |
RotationMatrix (const QQuaternion &q) | |
void | setQuaternion (const QQuaternion &q) |
QQuaternion | toQuaternion () const |
Public Attributes | |
VICUS_READWRITE float | m_wp |
float | m_x |
float | m_y |
float | m_z |
This is a pretty dumb class and only used for the serialization code generator. It stores 4 floats and matches internally the QQuaternion class. When we copy back and forth from a QQuaternion, we just treat ourselves as a QQuaternion class (low level memory access is can be beautiful :-)
|
inline |
|
inline |
|
inline |
Conversion from QQuaternion
|
inline |
Conversion to QQuaternion
VICUS_READWRITE float VICUS::RotationMatrix::m_wp |
float VICUS::RotationMatrix::m_x |
float VICUS::RotationMatrix::m_y |
float VICUS::RotationMatrix::m_z |