Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
voxelparticleexpirecheck.h
1
#pragma once
2
3
#include "property/property.h"
4
#include "voxelparticleremovecheck.h"
5
6
7
class
VoxelParticleEngine
;
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
*/
16
class
VoxelParticleExpireCheck
:
public
VoxelParticleRemoveCheck
{
17
public
:
18
VoxelParticleExpireCheck
(
const
VoxelParticleEngine
& engine);
19
20
virtual
bool
isDead(
const
VoxelParticleData
& particle)
override
;
21
22
protected
:
23
const
VoxelParticleEngine
& m_particleEngine;
24
};
25
VoxelParticleData
Definition:
voxelparticledata.h:7
VoxelParticleRemoveCheck
Definition:
voxelparticleremovecheck.h:6
VoxelParticleEngine
Definition:
voxelparticleengine.h:23
VoxelParticleExpireCheck
Definition:
voxelparticleexpirecheck.h:16
src
voxeleffect
particlechecks
voxelparticleexpirecheck.h
Generated on Sun Mar 30 2014 13:32:32 for Voxellancer by
1.8.6