mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Minor fixes and changes
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user