mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Common: update Quaternion to allow rotating pitch, yaw, and roll all at once
This commit is contained in:
@ -337,6 +337,10 @@ public:
|
||||
static Quaternion RotateY(float rad);
|
||||
static Quaternion RotateZ(float rad);
|
||||
|
||||
// Returns a quaternion with rotations about each axis simulatenously (e.g processing gyroscope
|
||||
// input)
|
||||
static Quaternion RotateXYZ(const Vec3& rads);
|
||||
|
||||
static Quaternion Rotate(float rad, const Vec3& axis);
|
||||
|
||||
Quaternion() = default;
|
||||
|
Reference in New Issue
Block a user