4 #include <glm/glm.force.hpp>
6 #include "GameObject.hpp"
57 static String_t GetDescriptor(
void) {
return uT(
"i4f4"); }
58 int32_t i1, i2, i3, i4;
59 float x, y, z, HalfSize;
62 using ParticlesPtr_t = ::std::shared_ptr<::std::vector<Particle>>;
65 Objects_t
GetObject(
const Any_t &)
const override;
68 void BuildVertexesParticles(
void);
69 void BuildInstansedParticles(
void);
70 Objects_t GetVertexesObject(
void)
const;
71 Objects_t GetInstancedObject(
void)
const;
74 const bool m_IsParticleInstance;
75 const ::std::size_t m_Count;
76 const float m_ParticleHalfSize = 0.03f;
77 ParticlesPtr_t m_pParticles;
78 ::std::vector<Vertex_t> m_Vertexes;
79 ::std::vector<::std::vector<int>> m_Indices;