Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
voxelparticleintersectioncheck.h
1 #pragma once
2 
3 #include "property/property.h"
4 
5 #include "voxelparticleremovecheck.h"
6 
7 #include "geometry/sphere.h"
8 
9 class Player;
11 struct VoxelParticleData;
12 
13 
14 /*
15  Regular check that removes particles that intersect with WorldObjects
16 */
18 public:
20 
21  virtual bool isDead(const VoxelParticleData& particle) override;
22 
23 protected:
24  const VoxelParticleEngine& m_particleEngine;
25  Sphere m_Sphere;
26 
27  virtual void beforeCheck();
28 
29 };
30 
Definition: voxelparticledata.h:7
Definition: voxelparticleremovecheck.h:6
Definition: voxelparticleengine.h:23
Definition: voxelparticleintersectioncheck.h:17
Definition: sphere.h:11
Definition: player.h:22