Minor fixes and changes

This commit is contained in:
Oleg Kalachev
2024-05-21 10:49:57 +03:00
parent b91f4d3b6d
commit ad6bc02643
5 changed files with 7 additions and 5 deletions

View File

@@ -169,6 +169,7 @@ const char* getModeName() {
case MANUAL: return "MANUAL";
case ACRO: return "ACRO";
case STAB: return "STAB";
case USER: return "USER";
default: return "UNKNOWN";
}
}

View File

@@ -167,6 +167,7 @@ public:
return Vector(res.x, res.y, res.z);
}
// Rotate vector by quaternion
inline Vector rotate(const Vector& v) {
return conjugateInversed(v);
}