Commit 7546d055 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Unused variables cleanup

parent a39e0f1f
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -119,8 +119,6 @@ void QuatToRotMat(
    float Rmat[3][3]            /* o  : real-space rotation matrix for this rotation   */
)
{
    float s1, s2, s3, c1, c2, c3;

#ifdef FIX_I109_ORIENTATION_TRACKING
    Rmat[0][0] = quat.w * quat.w + quat.x * quat.x - quat.y * quat.y - quat.z * quat.z;
    Rmat[0][1] = 2.0f * ( quat.x * quat.y - quat.w * quat.z );
@@ -134,6 +132,7 @@ void QuatToRotMat(
    Rmat[2][1] = 2.0f * ( quat.y * quat.z + quat.w * quat.x );
    Rmat[2][2] = quat.w * quat.w - quat.x * quat.x - quat.y * quat.y + quat.z * quat.z;
#else
    float s1, s2, s3, c1, c2, c3;

#ifdef DEBUGGING
    /* PrintQuat( quat ); */