mirror of https://github.com/AxioDL/metaforce.git
CPlasmaProjectile: Remove mutable specifier from m_renderObjs
Now that Render() is non-const, this is no longer necessary.
This commit is contained in:
parent
061b7f9a98
commit
1bacb69fc2
|
@ -134,7 +134,7 @@ void CPlasmaProjectile::UpdateEnergyPulse(float dt) {
|
||||||
x51c_pulseGen->Update(dt);
|
x51c_pulseGen->Update(dt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPlasmaProjectile::RenderMotionBlur() const {
|
void CPlasmaProjectile::RenderMotionBlur() {
|
||||||
CGraphics::SetModelMatrix({});
|
CGraphics::SetModelMatrix({});
|
||||||
zeus::CColor color1 = x494_outerColor;
|
zeus::CColor color1 = x494_outerColor;
|
||||||
zeus::CColor color2 = x494_outerColor;
|
zeus::CColor color2 = x494_outerColor;
|
||||||
|
|
|
@ -93,14 +93,14 @@ private:
|
||||||
boo::ObjToken<boo::ITexture> tex,
|
boo::ObjToken<boo::ITexture> tex,
|
||||||
boo::ObjToken<boo::ITexture> glowTex);
|
boo::ObjToken<boo::ITexture> glowTex);
|
||||||
};
|
};
|
||||||
mutable std::optional<RenderObjects> m_renderObjs;
|
std::optional<RenderObjects> m_renderObjs;
|
||||||
|
|
||||||
void SetLightsActive(bool active, CStateManager& mgr);
|
void SetLightsActive(bool active, CStateManager& mgr);
|
||||||
void CreatePlasmaLights(u32 sourceId, const CLight& l, CStateManager& mgr);
|
void CreatePlasmaLights(u32 sourceId, const CLight& l, CStateManager& mgr);
|
||||||
void DeletePlasmaLights(CStateManager& mgr);
|
void DeletePlasmaLights(CStateManager& mgr);
|
||||||
void UpdateLights(float expansion, float dt, CStateManager& mgr);
|
void UpdateLights(float expansion, float dt, CStateManager& mgr);
|
||||||
void UpdateEnergyPulse(float dt);
|
void UpdateEnergyPulse(float dt);
|
||||||
void RenderMotionBlur() const;
|
void RenderMotionBlur();
|
||||||
void RenderBeam(s32 subdivs, float width, const zeus::CColor& color, s32 flags,
|
void RenderBeam(s32 subdivs, float width, const zeus::CColor& color, s32 flags,
|
||||||
CColoredStripShader& shader) const;
|
CColoredStripShader& shader) const;
|
||||||
float UpdateBeamState(float dt, CStateManager& mgr);
|
float UpdateBeamState(float dt, CStateManager& mgr);
|
||||||
|
|
Loading…
Reference in New Issue