CSceneNode: Make use of std::array

Same behavior, stronger typing.
This commit is contained in:
Lioncash 2020-06-09 22:57:42 -04:00
parent 7065005c30
commit 3d4f2d60eb
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#include <Common/Math/CTransform4f.h>
#include <Common/Math/CVector3f.h>
#include <Common/Math/ETransformSpace.h>
#include <array>
class CRenderer;
class CScene;
@ -97,7 +98,7 @@ protected:
uint32 mLightLayerIndex = 0;
uint32 mLightCount = 0;
CLight* mLights[8];
std::array<CLight*, 8> mLights{};
CColor mAmbientColor;
public: