aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IParticleMeshEmitter.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IParticleMeshEmitter.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/include/IParticleMeshEmitter.h')
-rw-r--r--libraries/irrlicht-1.8/include/IParticleMeshEmitter.h108
1 files changed, 54 insertions, 54 deletions
diff --git a/libraries/irrlicht-1.8/include/IParticleMeshEmitter.h b/libraries/irrlicht-1.8/include/IParticleMeshEmitter.h
index 6550d24..4d066a1 100644
--- a/libraries/irrlicht-1.8/include/IParticleMeshEmitter.h
+++ b/libraries/irrlicht-1.8/include/IParticleMeshEmitter.h
@@ -1,54 +1,54 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __I_PARTICLE_MESH_EMITTER_H_INCLUDED__ 5#ifndef __I_PARTICLE_MESH_EMITTER_H_INCLUDED__
6#define __I_PARTICLE_MESH_EMITTER_H_INCLUDED__ 6#define __I_PARTICLE_MESH_EMITTER_H_INCLUDED__
7 7
8#include "IParticleEmitter.h" 8#include "IParticleEmitter.h"
9#include "IMesh.h" 9#include "IMesh.h"
10 10
11namespace irr 11namespace irr
12{ 12{
13namespace scene 13namespace scene
14{ 14{
15 15
16//! A particle emitter which emits from vertices of a mesh 16//! A particle emitter which emits from vertices of a mesh
17class IParticleMeshEmitter : public IParticleEmitter 17class IParticleMeshEmitter : public IParticleEmitter
18{ 18{
19public: 19public:
20 20
21 //! Set Mesh to emit particles from 21 //! Set Mesh to emit particles from
22 virtual void setMesh( IMesh* mesh ) = 0; 22 virtual void setMesh( IMesh* mesh ) = 0;
23 23
24 //! Set whether to use vertex normal for direction, or direction specified 24 //! Set whether to use vertex normal for direction, or direction specified
25 virtual void setUseNormalDirection( bool useNormalDirection = true ) = 0; 25 virtual void setUseNormalDirection( bool useNormalDirection = true ) = 0;
26 26
27 //! Set the amount that the normal is divided by for getting a particles direction 27 //! Set the amount that the normal is divided by for getting a particles direction
28 virtual void setNormalDirectionModifier( f32 normalDirectionModifier ) = 0; 28 virtual void setNormalDirectionModifier( f32 normalDirectionModifier ) = 0;
29 29
30 //! Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices 30 //! Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices
31 virtual void setEveryMeshVertex( bool everyMeshVertex = true ) = 0; 31 virtual void setEveryMeshVertex( bool everyMeshVertex = true ) = 0;
32 32
33 //! Get Mesh we're emitting particles from 33 //! Get Mesh we're emitting particles from
34 virtual const IMesh* getMesh() const = 0; 34 virtual const IMesh* getMesh() const = 0;
35 35
36 //! Get whether to use vertex normal for direction, or direction specified 36 //! Get whether to use vertex normal for direction, or direction specified
37 virtual bool isUsingNormalDirection() const = 0; 37 virtual bool isUsingNormalDirection() const = 0;
38 38
39 //! Get the amount that the normal is divided by for getting a particles direction 39 //! Get the amount that the normal is divided by for getting a particles direction
40 virtual f32 getNormalDirectionModifier() const = 0; 40 virtual f32 getNormalDirectionModifier() const = 0;
41 41
42 //! Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices 42 //! Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices
43 virtual bool getEveryMeshVertex() const = 0; 43 virtual bool getEveryMeshVertex() const = 0;
44 44
45 //! Get emitter type 45 //! Get emitter type
46 virtual E_PARTICLE_EMITTER_TYPE getType() const { return EPET_MESH; } 46 virtual E_PARTICLE_EMITTER_TYPE getType() const { return EPET_MESH; }
47}; 47};
48 48
49} // end namespace scene 49} // end namespace scene
50} // end namespace irr 50} // end namespace irr
51 51
52 52
53#endif 53#endif
54 54