diff --git a/src/lib/conversion/rotation.cpp b/src/lib/conversion/rotation.cpp index 2cb8f9c5ab..1bff5d7ba4 100644 --- a/src/lib/conversion/rotation.cpp +++ b/src/lib/conversion/rotation.cpp @@ -249,16 +249,6 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z) return; } - case ROTATION_YAW_293_PITCH_68_ROLL_90: { - const float tmpx = x; - const float tmpy = y; - const float tmpz = z; - x = -0.390731f * tmpy - 0.920505f * tmpz; - y = 0.374607f * tmpx - 0.853477f * tmpy + 0.362280f * tmpz; - z = -0.927184f * tmpx - 0.344827f * tmpy + 0.146371f * tmpz; - return; - } - case ROTATION_PITCH_9_YAW_180: { const float tmpx = x; const float tmpy = y; diff --git a/src/lib/conversion/rotation.h b/src/lib/conversion/rotation.h index 46dc75a48b..96470ea06d 100644 --- a/src/lib/conversion/rotation.h +++ b/src/lib/conversion/rotation.h @@ -93,9 +93,8 @@ enum Rotation { ROTATION_ROLL_270_YAW_180 = 41, ROTATION_ROLL_270_YAW_270 = 42, ROTATION_PITCH_90_YAW_180 = 43, - ROTATION_YAW_293_PITCH_68_ROLL_90 = 44, - ROTATION_PITCH_9_YAW_180 = 45, - ROTATION_PITCH_45 = 46, + ROTATION_PITCH_9_YAW_180 = 44, + ROTATION_PITCH_45 = 45, ROTATION_MAX }; @@ -150,7 +149,6 @@ const rot_lookup_t rot_lookup[] = { {270, 0, 180 }, {270, 0, 270 }, { 0, 90, 180 }, - {293, 68, 90 }, { 0, 9, 180 }, { 0, 45, 0 }, };