[Quaternion to Euler Angles]
Solved
Qt 6
-
Hey,
I tried to convert a quaternion to Euler angle using: void QQuaternion::getEulerAngles(float *pitch, float *yaw, float *roll) const
However, I got this error: cannot initialize a parameter of type 'float *' with an lvalue of type 'float'
This is the code line: quaternion.getEulerAngles(pitch,yaw,roll).
Can you please help me ?