mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 00:27:43 +00:00
CParticleSwoosh: Make use of std::array where applicable
Same behavior, no implicit array to pointer decay.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@@ -102,7 +103,7 @@ class CParticleSwoosh : public CParticleGen {
|
||||
float x208_maxRadius = 0.f;
|
||||
zeus::CColor x20c_moduColor = zeus::skWhite;
|
||||
|
||||
boo::ObjToken<boo::IShaderDataBinding> m_dataBind[2];
|
||||
std::array<boo::ObjToken<boo::IShaderDataBinding>, 2> m_dataBind;
|
||||
boo::ObjToken<boo::IGraphicsBufferD> m_vertBuf;
|
||||
boo::ObjToken<boo::IGraphicsBufferD> m_uniformBuf;
|
||||
std::unique_ptr<CLineRenderer> m_lineRenderer;
|
||||
|
||||
Reference in New Issue
Block a user