mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-03 10:35:51 +00:00
CParticleGlobals: Make use of std::array where applicable
This commit is contained in:
parent
7d42b2d763
commit
d6f2e27d8a
@ -60,22 +60,22 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct SParticleInstanceTex {
|
struct SParticleInstanceTex {
|
||||||
zeus::CVector4f pos[4];
|
std::array<zeus::CVector4f, 4> pos;
|
||||||
zeus::CColor color;
|
zeus::CColor color;
|
||||||
zeus::CVector2f uvs[4];
|
std::array<zeus::CVector2f, 4> uvs;
|
||||||
};
|
};
|
||||||
extern std::vector<SParticleInstanceTex> g_instTexData;
|
extern std::vector<SParticleInstanceTex> g_instTexData;
|
||||||
|
|
||||||
struct SParticleInstanceIndTex {
|
struct SParticleInstanceIndTex {
|
||||||
zeus::CVector4f pos[4];
|
std::array<zeus::CVector4f, 4> pos;
|
||||||
zeus::CColor color;
|
zeus::CColor color;
|
||||||
zeus::CVector4f texrTindUVs[4];
|
std::array<zeus::CVector4f, 4> texrTindUVs;
|
||||||
zeus::CVector4f sceneUVs;
|
zeus::CVector4f sceneUVs;
|
||||||
};
|
};
|
||||||
extern std::vector<SParticleInstanceIndTex> g_instIndTexData;
|
extern std::vector<SParticleInstanceIndTex> g_instIndTexData;
|
||||||
|
|
||||||
struct SParticleInstanceNoTex {
|
struct SParticleInstanceNoTex {
|
||||||
zeus::CVector4f pos[4];
|
std::array<zeus::CVector4f, 4> pos;
|
||||||
zeus::CColor color;
|
zeus::CColor color;
|
||||||
};
|
};
|
||||||
extern std::vector<SParticleInstanceNoTex> g_instNoTexData;
|
extern std::vector<SParticleInstanceNoTex> g_instNoTexData;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user