mirror of https://github.com/AxioDL/metaforce.git
CThardus: Remove mutable specifier from m_flareFilter
Now that Render() is non-const, this specifier is no longer necessary.
This commit is contained in:
parent
1bacb69fc2
commit
27813e5fc3
|
@ -977,7 +977,7 @@ void CThardus::UpdateExcludeList(const std::unique_ptr<CCollisionActorManager>&
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CThardus::RenderFlare(const CStateManager& mgr, float t) const {
|
void CThardus::RenderFlare(const CStateManager& mgr, float t) {
|
||||||
if (!x91c_flareTexture)
|
if (!x91c_flareTexture)
|
||||||
return;
|
return;
|
||||||
if (!m_flareFilter)
|
if (!m_flareFilter)
|
||||||
|
|
|
@ -159,11 +159,11 @@ class CThardus : public CPatterned {
|
||||||
void _SetupCollisionManagers(CStateManager& mgr);
|
void _SetupCollisionManagers(CStateManager& mgr);
|
||||||
void _BuildSphereJointList(const SSphereJointInfo* arr, size_t count, std::vector<CJointCollisionDescription>& list);
|
void _BuildSphereJointList(const SSphereJointInfo* arr, size_t count, std::vector<CJointCollisionDescription>& list);
|
||||||
void _BuildAABoxJointList(const SAABoxJointInfo* arr, size_t count, std::vector<CJointCollisionDescription>& list);
|
void _BuildAABoxJointList(const SAABoxJointInfo* arr, size_t count, std::vector<CJointCollisionDescription>& list);
|
||||||
void RenderFlare(const CStateManager& mgr, float t) const;
|
void RenderFlare(const CStateManager& mgr, float t);
|
||||||
zeus::CVector3f sub801de550(const CStateManager& mgr) const;
|
zeus::CVector3f sub801de550(const CStateManager& mgr) const;
|
||||||
zeus::CVector3f sub801de434(const CStateManager& mgr) const { return {}; }
|
zeus::CVector3f sub801de434(const CStateManager& mgr) const { return {}; }
|
||||||
|
|
||||||
mutable std::optional<CTexturedQuadFilter> m_flareFilter;
|
std::optional<CTexturedQuadFilter> m_flareFilter;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DEFINE_PATTERNED(Thardus)
|
DEFINE_PATTERNED(Thardus)
|
||||||
|
|
Loading…
Reference in New Issue