InputCommon/WiimoteEmu: Replace stateful rotational matrices with quaternions.
This commit is contained in:
1 parent
39030ea33c
commit
09431635f3
7 files changed
+43
-35
No files matched your search
@@ -275,7 +275,7 @@ private:
|
||||
std::list<ReportHandler> m_report_handlers;
|
||||
|
||||
// World rotation. (used to rotate IR data and provide pitch, roll, yaw inputs)
|
||||
Common::Matrix33 m_orientation = Common::Matrix33::Identity();
|
||||
Common::Quaternion m_orientation = Common::Quaternion::Identity();
|
||||
Clock::time_point m_last_report_time = Clock::now();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user