Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
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
;
10
class
VoxelParticleEngine
;
11
struct
VoxelParticleData
;
12
13
14
/*
15
Regular check that removes particles that intersect with WorldObjects
16
*/
17
class
VoxelParticleIntersectionCheck
:
public
VoxelParticleRemoveCheck
{
18
public
:
19
VoxelParticleIntersectionCheck
(
const
VoxelParticleEngine
& engine);
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
VoxelParticleData
Definition:
voxelparticledata.h:7
VoxelParticleRemoveCheck
Definition:
voxelparticleremovecheck.h:6
VoxelParticleEngine
Definition:
voxelparticleengine.h:23
VoxelParticleIntersectionCheck
Definition:
voxelparticleintersectioncheck.h:17
Sphere
Definition:
sphere.h:11
Player
Definition:
player.h:22
src
voxeleffect
particlechecks
voxelparticleintersectioncheck.h
Generated on Sun Mar 30 2014 13:32:32 for Voxellancer by
1.8.6