Commit 3ee1c215 authored by stoutjesdijk's avatar stoutjesdijk 🎧
Browse files

harmonize euler2quat declaration and function

parent 9a06201e
Loading
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -807,16 +807,16 @@ void ivas_headTrack_close(

void Quat2Euler(
    const IVAS_QUATERNION quat,                                 /* i  : quaternion describing the rotation  */
    float *yaw,                                                 /* o  : yaw                                             */
    float *pitch,                                               /* o  : pitch                                           */
    float *roll                                                 /* o  : roll                                            */
    float *yaw,                                                 /* o  : yaw   (z)                           */
    float *pitch,                                               /* o  : pitch (y)                           */
    float *roll                                                 /* o  : roll  (x)                           */
);

#ifdef FIX_I109_ORIENTATION_TRACKING
void Euler2Quat(
    const float yaw,                                            /* i  : yaw                                             */
    const float pitch,                                          /* i  : pitch                                           */
    const float roll,                                           /* i  : roll                                            */
    const float roll,                                           /* i  : roll  (x)                           */
    const float pitch,                                          /* i  : pitch (y)                           */
    const float yaw,                                            /* i  : yaw   (z)                           */
    IVAS_QUATERNION *quat                                       /* o  : quaternion describing the rotation  */
);