mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
CGraphics: Make use of std::array where applicable
This commit is contained in:
@@ -1055,9 +1055,7 @@ boo::ObjToken<boo::IGraphicsBufferD> CBooModel::UpdateUniformData(const CModelFl
|
||||
} else {
|
||||
CModelShaders::LightingUniform& lightingOut = *reinterpret_cast<CModelShaders::LightingUniform*>(dataCur);
|
||||
lightingOut = m_lightingData;
|
||||
lightingOut.colorRegs[0] = CGraphics::g_ColorRegs[0];
|
||||
lightingOut.colorRegs[1] = CGraphics::g_ColorRegs[1];
|
||||
lightingOut.colorRegs[2] = CGraphics::g_ColorRegs[2];
|
||||
lightingOut.colorRegs = CGraphics::g_ColorRegs;
|
||||
lightingOut.mulColor = flags.x4_color;
|
||||
lightingOut.addColor = flags.addColor;
|
||||
lightingOut.fog = CGraphics::g_Fog;
|
||||
|
||||
Reference in New Issue
Block a user