rotate_3f() implement missing ROTATION_ROLL_270_YAW_270

This commit is contained in:
Daniel Agar
2014-12-23 11:18:30 -05:00
parent d511e39ea7
commit d14fdf896b
3 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -182,8 +182,8 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z)
return;
}
case ROTATION_ROLL_270_YAW_270: {
// unimplemented
ASSERT(0 == 1);
tmp = z; z = -y; y = tmp;
tmp = x; x = y; y = -tmp;
return;
}
case ROTATION_PITCH_90: {