2
0
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:
Lioncash
2020-04-05 05:44:26 -04:00
parent 8808a3a324
commit 95199848d3
3 changed files with 7 additions and 8 deletions

View File

@@ -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;