CParticleGlobals: Make use of std::array where applicable

This commit is contained in:
Lioncash 2020-04-11 20:29:36 -04:00
parent 7d42b2d763
commit d6f2e27d8a
1 changed files with 5 additions and 5 deletions

View File

@ -60,22 +60,22 @@ public:
};
struct SParticleInstanceTex {
zeus::CVector4f pos[4];
std::array<zeus::CVector4f, 4> pos;
zeus::CColor color;
zeus::CVector2f uvs[4];
std::array<zeus::CVector2f, 4> uvs;
};
extern std::vector<SParticleInstanceTex> g_instTexData;
struct SParticleInstanceIndTex {
zeus::CVector4f pos[4];
std::array<zeus::CVector4f, 4> pos;
zeus::CColor color;
zeus::CVector4f texrTindUVs[4];
std::array<zeus::CVector4f, 4> texrTindUVs;
zeus::CVector4f sceneUVs;
};
extern std::vector<SParticleInstanceIndTex> g_instIndTexData;
struct SParticleInstanceNoTex {
zeus::CVector4f pos[4];
std::array<zeus::CVector4f, 4> pos;
zeus::CColor color;
};
extern std::vector<SParticleInstanceNoTex> g_instNoTexData;