Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
voxeldebrisgenerator.h
1
#pragma once
2
3
#include <glm/glm.hpp>
4
5
#include "property/property.h"
6
#include "voxelparticlespawnbase.h"
7
8
class
Transform
;
9
class
VoxelCluster
;
10
11
class
VoxelDebrisGenerator
:
public
VoxelParticleSpawnBase
{
12
public
:
13
VoxelDebrisGenerator
(
const
VoxelCluster
* creator);
14
virtual
~
VoxelDebrisGenerator
();
15
16
void
setOrientation(
const
glm::quat& orientation);
17
void
setDensity(
int
density);
18
void
setSpawnProbability(
float
spawnProbability);
19
20
void
spawn();
21
22
23
protected
:
24
glm::quat m_orientation;
25
int
m_density;
26
float
m_spawnProbability;
27
28
float
createScale();
29
};
30
VoxelCluster
Definition:
voxelcluster.h:21
Transform
Definition:
transform.h:9
VoxelParticleSpawnBase
Definition:
voxelparticlespawnbase.h:10
VoxelDebrisGenerator
Definition:
voxeldebrisgenerator.h:11
src
voxeleffect
voxeldebrisgenerator.h
Generated on Sun Mar 30 2014 13:32:32 for Voxellancer by
1.8.6