Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
voxelparticledata.h
1 #pragma once
2 
3 #include <glm/glm.hpp>
4 
5 #include <stdint.h>
6 
8  enum class Status { Removed, Alive, Dead };
9 
11  status(Status::Removed),
12  deathTime(0.0f)
13  {
14  }
15 
16  // Extra attribute, not necessarily used by the shader
17  Status status;
18 
19  glm::vec3 creationPosition;
20  glm::vec3 creationEulers;
21  glm::vec3 directionalSpeed;
22  glm::vec3 angularSpeed;
23  float creationTime;
24  float deathTime;
25  float scale;
26  uint32_t color;
27  float emissiveness;
28 };
29 
Definition: voxelparticledata.h:7