FreeLookCamera: Add override specifiers

This commit is contained in:
Dentomologist 2021-02-13 08:42:20 -08:00
parent 1c71d33ed5
commit 95c86ee48b
1 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ public:
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:
Common::Matrix44 m_mat = Common::Matrix44::Identity();
@ -119,7 +119,7 @@ public:
m_rotate_quat = Common::Quaternion::Identity();
}
void DoState(PointerWrap& p)
void DoState(PointerWrap& p) override
{
p.Do(m_rotation);
p.Do(m_rotate_quat);
@ -170,7 +170,7 @@ public:
m_distance = 0;
}
void DoState(PointerWrap& p)
void DoState(PointerWrap& p) override
{
p.Do(m_rotation);
p.Do(m_rotate_quat);