2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

CParticleSwoosh: Make use of std::array where applicable

Same behavior, no implicit array to pointer decay.
This commit is contained in:
Lioncash
2020-04-11 20:20:45 -04:00
parent 76e226f831
commit 9d6b9142bb
3 changed files with 6 additions and 5 deletions

View File

@@ -586,9 +586,9 @@ void CParticleSwoosh::Render3SidedSolidNoSplineNoGaps() {
if (x15c_swooshes.size() < 2)
return;
zeus::CVector3f p0[2];
zeus::CVector3f p1[2];
zeus::CVector3f p2[2];
std::array<zeus::CVector3f, 2> p0;
std::array<zeus::CVector3f, 2> p1;
std::array<zeus::CVector3f, 2> p2;
int curIdx = x158_curParticle;
bool lastActive = false;