From d6f2e27d8a161c5014be10d13859b234ff290971 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 11 Apr 2020 20:29:36 -0400 Subject: [PATCH] CParticleGlobals: Make use of std::array where applicable --- Runtime/Particle/CParticleGlobals.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Runtime/Particle/CParticleGlobals.hpp b/Runtime/Particle/CParticleGlobals.hpp index 3a2ae8e44..12b89d65b 100644 --- a/Runtime/Particle/CParticleGlobals.hpp +++ b/Runtime/Particle/CParticleGlobals.hpp @@ -60,22 +60,22 @@ public: }; struct SParticleInstanceTex { - zeus::CVector4f pos[4]; + std::array pos; zeus::CColor color; - zeus::CVector2f uvs[4]; + std::array uvs; }; extern std::vector g_instTexData; struct SParticleInstanceIndTex { - zeus::CVector4f pos[4]; + std::array pos; zeus::CColor color; - zeus::CVector4f texrTindUVs[4]; + std::array texrTindUVs; zeus::CVector4f sceneUVs; }; extern std::vector g_instIndTexData; struct SParticleInstanceNoTex { - zeus::CVector4f pos[4]; + std::array pos; zeus::CColor color; }; extern std::vector g_instNoTexData;