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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user