Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
voxelparticleexpirecheck.h
1 #pragma once
2 
3 #include "property/property.h"
4 #include "voxelparticleremovecheck.h"
5 
6 
8 struct VoxelParticleData;
9 
10 
11 /*
12  Regular check that de-allocates particledata-locations whose lifetime has passed
13  Please note that the shader only draws particles that life, so performing this check
14  over a long interval doesn't harm here.
15 */
17 public:
19 
20  virtual bool isDead(const VoxelParticleData& particle) override;
21 
22 protected:
23  const VoxelParticleEngine& m_particleEngine;
24 };
25 
Definition: voxelparticledata.h:7
Definition: voxelparticleremovecheck.h:6
Definition: voxelparticleengine.h:23
Definition: voxelparticleexpirecheck.h:16