Searched refs:rvecdeg (Results 1 – 2 of 2) sorted by relevance
697 void fQuaternionFromRotationVectorDeg(Quaternion *pq, const float rvecdeg[], float fscaling) in fQuaternionFromRotationVectorDeg() argument708 …fetadeg = fscaling * sqrtf(rvecdeg[CHX] * rvecdeg[CHX] + rvecdeg[CHY] * rvecdeg[CHY] + rvecdeg[CHZ… in fQuaternionFromRotationVectorDeg()737 pq->q1 = rvecdeg[CHX] * ftmp; // q1 = nx * sin(eta/2) in fQuaternionFromRotationVectorDeg()738 pq->q2 = rvecdeg[CHY] * ftmp; // q2 = ny * sin(eta/2) in fQuaternionFromRotationVectorDeg()739 pq->q3 = rvecdeg[CHZ] * ftmp; // q3 = nz * sin(eta/2) in fQuaternionFromRotationVectorDeg()846 void fRotationVectorDegFromQuaternion(Quaternion *pq, float rvecdeg[]) in fRotationVectorDegFromQuaternion() argument881 rvecdeg[CHX] = rvecdeg[CHY] = rvecdeg[CHZ] = 0.0F; in fRotationVectorDegFromQuaternion()887 rvecdeg[CHX] = pq->q1 * ftmp; in fRotationVectorDegFromQuaternion()888 rvecdeg[CHY] = pq->q2 * ftmp; in fRotationVectorDegFromQuaternion()889 rvecdeg[CHZ] = pq->q3 * ftmp; in fRotationVectorDegFromQuaternion()[all …]
156 const float rvecdeg[], ///< rotation vector in degrees162 float rvecdeg[] ///< rotation vector in degrees (output)