mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
FreeLookCamera: Add override specifiers
This commit is contained in:
parent
1c71d33ed5
commit
95c86ee48b
@ -67,7 +67,7 @@ public:
|
|||||||
|
|
||||||
void Reset() override { m_mat = Common::Matrix44::Identity(); }
|
void Reset() override { m_mat = Common::Matrix44::Identity(); }
|
||||||
|
|
||||||
void DoState(PointerWrap& p) { p.Do(m_mat); }
|
void DoState(PointerWrap& p) override { p.Do(m_mat); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Common::Matrix44 m_mat = Common::Matrix44::Identity();
|
Common::Matrix44 m_mat = Common::Matrix44::Identity();
|
||||||
@ -119,7 +119,7 @@ public:
|
|||||||
m_rotate_quat = Common::Quaternion::Identity();
|
m_rotate_quat = Common::Quaternion::Identity();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoState(PointerWrap& p)
|
void DoState(PointerWrap& p) override
|
||||||
{
|
{
|
||||||
p.Do(m_rotation);
|
p.Do(m_rotation);
|
||||||
p.Do(m_rotate_quat);
|
p.Do(m_rotate_quat);
|
||||||
@ -170,7 +170,7 @@ public:
|
|||||||
m_distance = 0;
|
m_distance = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoState(PointerWrap& p)
|
void DoState(PointerWrap& p) override
|
||||||
{
|
{
|
||||||
p.Do(m_rotation);
|
p.Do(m_rotation);
|
||||||
p.Do(m_rotate_quat);
|
p.Do(m_rotate_quat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user